Developing RESTful Web APIs with Python, Flask and MongoDBNicola Iarocci
Presented at EuroPython 2012. The abstract: "In the last year we have been working on a full featured, Python powered, RESTful Web API. We learned quite a few things on REST best patterns, and we got a chance to put Python’s renowned web capabilities under review, even releasing a couple Open Source projects in the process. In my talk I will share what we learned. We will consider ‘pure’ REST API design and its many hurdles. We will look at what Python as to offer in this field and finally, we will dig further down by looking at some of the code we developed. Some of the technologies/stacks I’ll cover are (in no particular order): Flask, PyMongo, MongoDB, REST, JSON, XML, Heroku. Did you know? Like it or not, there is going to be a REST API in your future."
Security Best Practices for Mobile Development @ Dreamforce 2013Tom Gersic
This document discusses security best practices for mobile development. It covers fundamental security principles like vulnerability, threat and mitigation. It details security measures in iOS like application sandboxing, permissions and encryption. It also discusses Android security concepts like application components and permissions. The document recommends practices like static analysis, encryption, jailbreak detection and the use of the Salesforce mobile SDK to help secure mobile apps and data.
Launch the First Process in Linux SystemJian-Hong Pan
The session: https://coscup.org/2022/en/session/AGCMDJ
After Linux kernel boots, it will try to launch first process “init” in User Space. Then, the system begins the featured journey of the Linux distribution.
This sharing takes Busybox as the example and shows that how does Linux kernel find the “init” which directs to the Busybox. And, what will Busybox do and how to get the console. Try to make it like a simple Linux system.
Before Linux kernel launches “init” process, the file system and storage corresponding drivers/modules must be loaded to find the “init”. Besides, to mount the root file system correctly, the kernel boot command must include the root device and file system format parameters.
On the other hand, the Busybox directed from “init” is a lightweight program, but has rich functions, just like a Swiss Army Knife. So, it is usually used on the simple environment, like embedded Linux system.
This sharing will have a demo on a virtual machine first, then on the Raspberry Pi.
Drafts:
* https://hackmd.io/@starnight/Busbox_as_the_init
* https://hackmd.io/@starnight/Build_Alpines_Root_Filesystem_Bootstrap
Relate idea: https://hackmd.io/@starnight/Systems_init_and_Containers_COMMAND_Dockerfiles_CMD
The document discusses MySQL's buffer pool and buffer management. It describes how the buffer pool caches frequently accessed data in memory for faster access. The buffer pool contains several lists including a free list, LRU list, and flush list. It explains functions for reading pages from storage into the buffer pool, replacing pages using LRU, and flushing dirty pages to disk including single page flushes during buffer allocation.
Developing RESTful Web APIs with Python, Flask and MongoDBNicola Iarocci
Presented at EuroPython 2012. The abstract: "In the last year we have been working on a full featured, Python powered, RESTful Web API. We learned quite a few things on REST best patterns, and we got a chance to put Python’s renowned web capabilities under review, even releasing a couple Open Source projects in the process. In my talk I will share what we learned. We will consider ‘pure’ REST API design and its many hurdles. We will look at what Python as to offer in this field and finally, we will dig further down by looking at some of the code we developed. Some of the technologies/stacks I’ll cover are (in no particular order): Flask, PyMongo, MongoDB, REST, JSON, XML, Heroku. Did you know? Like it or not, there is going to be a REST API in your future."
Security Best Practices for Mobile Development @ Dreamforce 2013Tom Gersic
This document discusses security best practices for mobile development. It covers fundamental security principles like vulnerability, threat and mitigation. It details security measures in iOS like application sandboxing, permissions and encryption. It also discusses Android security concepts like application components and permissions. The document recommends practices like static analysis, encryption, jailbreak detection and the use of the Salesforce mobile SDK to help secure mobile apps and data.
Launch the First Process in Linux SystemJian-Hong Pan
The session: https://coscup.org/2022/en/session/AGCMDJ
After Linux kernel boots, it will try to launch first process “init” in User Space. Then, the system begins the featured journey of the Linux distribution.
This sharing takes Busybox as the example and shows that how does Linux kernel find the “init” which directs to the Busybox. And, what will Busybox do and how to get the console. Try to make it like a simple Linux system.
Before Linux kernel launches “init” process, the file system and storage corresponding drivers/modules must be loaded to find the “init”. Besides, to mount the root file system correctly, the kernel boot command must include the root device and file system format parameters.
On the other hand, the Busybox directed from “init” is a lightweight program, but has rich functions, just like a Swiss Army Knife. So, it is usually used on the simple environment, like embedded Linux system.
This sharing will have a demo on a virtual machine first, then on the Raspberry Pi.
Drafts:
* https://hackmd.io/@starnight/Busbox_as_the_init
* https://hackmd.io/@starnight/Build_Alpines_Root_Filesystem_Bootstrap
Relate idea: https://hackmd.io/@starnight/Systems_init_and_Containers_COMMAND_Dockerfiles_CMD
The document discusses MySQL's buffer pool and buffer management. It describes how the buffer pool caches frequently accessed data in memory for faster access. The buffer pool contains several lists including a free list, LRU list, and flush list. It explains functions for reading pages from storage into the buffer pool, replacing pages using LRU, and flushing dirty pages to disk including single page flushes during buffer allocation.
To introduce and motivate some best practice around version control and Git.
Resources:
https://en.wikipedia.org/wiki/Version_control
https://git-scm.com/
https://try.github.io
http://rogerdudler.github.io/git-guide/
http://ohshitgit.com/
https://www.atlassian.com/git/tutorials
https://www.datacamp.com/courses/introduction-to-git-for-data-science
Linux Training For Beginners | Linux Administration Tutorial | Introduction T...Edureka!
This Linux training will take you one step closer to becoming a Linux administrator. The most common and important tasks that a Linux admin is responsible for, is covered in this Linux training video. Below are the topics covered in this tutorial:
1) Linux File Permissions
2) ACLs (Access Control Lists)
3) Shell Scripting
4) Patching In Linux
5) Networking In Linux:-
a) SSH For Remote Host Access
b) SFTP For Remote File Transfer
c) SCP For Remote Folder Transfer
A Basic Git intro presentation for SVN long timers doing their first steps in Git.
This presentation is meant to clear up most of the basic concepts which cause confusion with developers using Git as if it was an SVN.
To run Toad for Oracle in a 64-bit environment, you must first install the 32-bit Oracle client and meet the minimum system requirements. Key requirements include installing the 32-bit Oracle client, at least 75MB of disk space and 512MB of RAM. The document then outlines the steps to install Toad by running the installation executable, accepting agreements, selecting products, and waiting for installation to complete. Once installed, Toad should be able to connect to the Oracle database without issues.
Session from NCUG. Stockholm 12.06.2019.
Basic Domino Performance Tuning. Ideas how to improve performance, statistics how to get information that we have issues and how to fix them
PE102 - a Windows executable format overview (booklet V1)Ange Albertini
This document provides a detailed overview of the structure and components of a Portable Executable (PE) file format, commonly used for executables and libraries in Windows. It describes the key elements such as the DOS header, PE header, optional header, section table, data directories, and other structures that provide metadata about resources, imports, exports, relocations, and other details. The summary includes key elements like the headers, sections, and data directories that provide the overall layout and organization of a PE file.
Go 語言入門介紹,底下是大綱:
* Go 語言誕生
* Go 語言優勢
* Go 語言選擇
* 誰在用 Go 語言
最後會提到 goroutine 及 channel 這兩大特性。如果對 Go 語言有興趣,可以參考線上課程
https://www.udemy.com/golang-fight/?couponCode=GOLANG-INTRO
HKG18- 115 - Partitioning ARM Systems with the Jailhouse HypervisorLinaro
"Session ID: HKG18-115
Session Name: HKG18-115 - Partitioning ARM Systems with the Jailhouse Hypervisor
Speaker: Jan Kiszka
Track: Security
★ Session Summary ★
The open source hypervisor Jailhouse provides hard partitioning of multicore systems to co-locate multiple Linux or RTOS instances side by side. It aims at low complexity and minimal footprint to achieve deterministic behavior and enable certifications according to safety or security standards. In this session, we would like to look at the ARM-specific status of Jailhouse and discuss applications, to-dos and possible collaborations around it with the ARM community. The session is intended to be half presentation, half Q&A / discussion.
---------------------------------------------------
★ Resources ★
Event Page: http://connect.linaro.org/resource/hkg18/hkg18-115/
Presentation: http://connect.linaro.org.s3.amazonaws.com/hkg18/presentations/hkg18-115.pdf
Video: http://connect.linaro.org.s3.amazonaws.com/hkg18/videos/hkg18-115.mp4
---------------------------------------------------
★ Event Details ★
Linaro Connect Hong Kong 2018 (HKG18)
19-23 March 2018
Regal Airport Hotel Hong Kong
---------------------------------------------------
Keyword: Security
'http://www.linaro.org'
'http://connect.linaro.org'
---------------------------------------------------
Follow us on Social Media
https://www.facebook.com/LinaroOrg
https://www.youtube.com/user/linaroorg?sub_confirmation=1
https://www.linkedin.com/company/1026961"
Understanding SQL Trace, TKPROF and Execution Plan for beginnersCarlos Sierra
The three fundamental steps of SQL Tuning are: 1) Diagnostics Collection; 2) Root Cause Analysis (RCA); and 3) Remediation. This introductory session on SQL Tuning is for novice DBAs and Developers that are required to investigate a piece of an application performing poorly.
On this session participants will learn about producing a SQL Trace then a summary TKPROF report. A sample TKPROF is navigated with the audience, where the trivial and the no so trivial is exposed and explain. Execution Plans are also navigated and explained, so participants can later untangle complex Execution Plans and start diagnosing SQL performing badly.
This session encourages participants to ask all kind of questions that could be potential road-blocks for deeper understanding of how to address a SQL performing poorly.
This document provides an overview of Git and its features. Git is a distributed version control system that allows users to track changes to files. It keeps track of file versions, allows multiple developers to work independently and merge changes together, and is faster than other version control systems. The document discusses Git's history and architecture, how to install and configure Git, basic commands like add, commit and log, branching, and more advanced topics.
To introduce and motivate some best practice around version control and Git.
Resources:
https://en.wikipedia.org/wiki/Version_control
https://git-scm.com/
https://try.github.io
http://rogerdudler.github.io/git-guide/
http://ohshitgit.com/
https://www.atlassian.com/git/tutorials
https://www.datacamp.com/courses/introduction-to-git-for-data-science
Linux Training For Beginners | Linux Administration Tutorial | Introduction T...Edureka!
This Linux training will take you one step closer to becoming a Linux administrator. The most common and important tasks that a Linux admin is responsible for, is covered in this Linux training video. Below are the topics covered in this tutorial:
1) Linux File Permissions
2) ACLs (Access Control Lists)
3) Shell Scripting
4) Patching In Linux
5) Networking In Linux:-
a) SSH For Remote Host Access
b) SFTP For Remote File Transfer
c) SCP For Remote Folder Transfer
A Basic Git intro presentation for SVN long timers doing their first steps in Git.
This presentation is meant to clear up most of the basic concepts which cause confusion with developers using Git as if it was an SVN.
To run Toad for Oracle in a 64-bit environment, you must first install the 32-bit Oracle client and meet the minimum system requirements. Key requirements include installing the 32-bit Oracle client, at least 75MB of disk space and 512MB of RAM. The document then outlines the steps to install Toad by running the installation executable, accepting agreements, selecting products, and waiting for installation to complete. Once installed, Toad should be able to connect to the Oracle database without issues.
Session from NCUG. Stockholm 12.06.2019.
Basic Domino Performance Tuning. Ideas how to improve performance, statistics how to get information that we have issues and how to fix them
PE102 - a Windows executable format overview (booklet V1)Ange Albertini
This document provides a detailed overview of the structure and components of a Portable Executable (PE) file format, commonly used for executables and libraries in Windows. It describes the key elements such as the DOS header, PE header, optional header, section table, data directories, and other structures that provide metadata about resources, imports, exports, relocations, and other details. The summary includes key elements like the headers, sections, and data directories that provide the overall layout and organization of a PE file.
Go 語言入門介紹,底下是大綱:
* Go 語言誕生
* Go 語言優勢
* Go 語言選擇
* 誰在用 Go 語言
最後會提到 goroutine 及 channel 這兩大特性。如果對 Go 語言有興趣,可以參考線上課程
https://www.udemy.com/golang-fight/?couponCode=GOLANG-INTRO
HKG18- 115 - Partitioning ARM Systems with the Jailhouse HypervisorLinaro
"Session ID: HKG18-115
Session Name: HKG18-115 - Partitioning ARM Systems with the Jailhouse Hypervisor
Speaker: Jan Kiszka
Track: Security
★ Session Summary ★
The open source hypervisor Jailhouse provides hard partitioning of multicore systems to co-locate multiple Linux or RTOS instances side by side. It aims at low complexity and minimal footprint to achieve deterministic behavior and enable certifications according to safety or security standards. In this session, we would like to look at the ARM-specific status of Jailhouse and discuss applications, to-dos and possible collaborations around it with the ARM community. The session is intended to be half presentation, half Q&A / discussion.
---------------------------------------------------
★ Resources ★
Event Page: http://connect.linaro.org/resource/hkg18/hkg18-115/
Presentation: http://connect.linaro.org.s3.amazonaws.com/hkg18/presentations/hkg18-115.pdf
Video: http://connect.linaro.org.s3.amazonaws.com/hkg18/videos/hkg18-115.mp4
---------------------------------------------------
★ Event Details ★
Linaro Connect Hong Kong 2018 (HKG18)
19-23 March 2018
Regal Airport Hotel Hong Kong
---------------------------------------------------
Keyword: Security
'http://www.linaro.org'
'http://connect.linaro.org'
---------------------------------------------------
Follow us on Social Media
https://www.facebook.com/LinaroOrg
https://www.youtube.com/user/linaroorg?sub_confirmation=1
https://www.linkedin.com/company/1026961"
Understanding SQL Trace, TKPROF and Execution Plan for beginnersCarlos Sierra
The three fundamental steps of SQL Tuning are: 1) Diagnostics Collection; 2) Root Cause Analysis (RCA); and 3) Remediation. This introductory session on SQL Tuning is for novice DBAs and Developers that are required to investigate a piece of an application performing poorly.
On this session participants will learn about producing a SQL Trace then a summary TKPROF report. A sample TKPROF is navigated with the audience, where the trivial and the no so trivial is exposed and explain. Execution Plans are also navigated and explained, so participants can later untangle complex Execution Plans and start diagnosing SQL performing badly.
This session encourages participants to ask all kind of questions that could be potential road-blocks for deeper understanding of how to address a SQL performing poorly.
This document provides an overview of Git and its features. Git is a distributed version control system that allows users to track changes to files. It keeps track of file versions, allows multiple developers to work independently and merge changes together, and is faster than other version control systems. The document discusses Git's history and architecture, how to install and configure Git, basic commands like add, commit and log, branching, and more advanced topics.
The document discusses performance testing of Firebird databases. It provides guidelines for testing including understanding the goal of the test, hardware and software setup, and accounting for caching effects. Testing covered analyzing queries on different Firebird versions and settings, comparing the use of Firebird cache versus OS cache, loading speed with different numbers of concurrent users and database sizes, and testing concurrency levels between Classic and SuperClassic architectures. Results showed improvements in Firebird 2.5 and with SuperClassic architecture over Classic.
The document discusses OLTP-EMUL, an open-source performance testing tool for Firebird. It describes how to configure and run OLTP-EMUL tests on Firebird 2.5, 3.0 and 4.0 to simulate a trading application. IBSurgeon regularly runs these tests and publishes the results online, showing significant performance improvements from Firebird 2.5 to 3.0 and 4.0, especially for the SuperServer engine. Configuration settings for Firebird.conf that optimize performance are also provided.
21. 21
lode のインストール 2
●
lode のディレクトリに移動し、セットアップを実行
– 必要なツール( make 等)がインストールされ
LibreOffice のソースコードが clone されます
●
時間が掛かります
$ cd lode
$./setup –-prereq
$./setup --dev
22. 22
lode のインストール 3
●
lode のメッセージにしたがって、環境変数 LODE_HOME を
設定します。例えば…
– Cygwin ターミナルを起動した時に自動的に設定されるよ
う .bash_profile 等に追記しておきましょう
$export LODE_HOME=/home/$USERNAME/lode
45. 45
参考文献等
●
lode - LibreOffice Development Environment
– https://wiki.documentfoundation.org/Development/lode
●
Welcome to The Document Foundation’s wiki
– https://wiki.documentfoundation.org/Main_Page
●
Building LibreOffice on Windows with Cygwin
and MSVC
– https://wiki.documentfoundation.org/Development/BuildingOnWindows
46. 46
参考文献等
●
GSoC Update firebird to 3.0
– https://gerrit.libreoffice.org/#/c/25673/
●
MSVC 14.0 U3: LO msi package put VC redist
libraries in wrong directory(Document
Foundation Mail Archive)
– http://nabble.documentfoundation.org/MSVC-14-0-U3-LO-msi-pack
age-put-VC-redist-libraries-in-wrong-directory-td4189802.html