$ scp source_file_path destination_file_path
Single file
| CREATE TRIGGER person_notify AFTER INSERT OR UPDATE OR DELETE ON income | |
| FOR EACH ROW EXECUTE PROCEDURE notify_trigger( | |
| 'id', | |
| 'email', | |
| 'username' | |
| ); | |
| CREATE TRIGGER income_notify AFTER INSERT OR UPDATE OR DELETE ON income | |
| FOR EACH ROW EXECUTE PROCEDURE notify_trigger( | |
| 'id', |
| Guide to playing Gangsters on Windows 10 | |
| --- | |
| 0. Download and install "Oracle VM VirtualBox": https://www.virtualbox.org/ | |
| 1. Download the "Windows XP Mode" installer: https://goo.gl/KvAb9O | |
| 2. This install only "works" on Windows 7. However, you can extract it. | |
| 3. Open the "WindowsXPMode_en-us.exe" file that you download with WinRAR or 7Zip (or your archiving | |
| software of choice) and extract the files within. | |
| 4. Open the "sources" directory | |
| 5. Open the "xpm" file with WinRAR or 7Zip (or your archiving software of choice) and extract "VirtualXPVHD". |
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent| let aref = | |
| spawn system "actor" | |
| <| fun mailbox -> | |
| printf "pre-start" // this section works like pre-start | |
| mailbox.Defer (fun () -> printf "post-stop") // this registers a function to be called on PostStop | |
| let rec loop () = | |
| actor { | |
| let! msg = mailbox.Receive () | |
| // do some work | |
| return! loop () |
| /* | |
| Based on: | |
| 1. http://stephen.io/mediaqueries | |
| 2. https://css-tricks.com/snippets/css/media-queries-for-standard-devices/ | |
| */ | |
| /* iPhone X in portrait & landscape */ | |
| @media only screen | |
| and (min-device-width : 375px) | |
| and (max-device-width : 812px) |
| #!/bin/sh | |
| # recursively removes all .pyc files and __pycache__ directories in the current | |
| # directory | |
| find . | grep -E "(__pycache__|\.pyc$)" | xargs rm -rf |
| { | |
| "https://index.docker.io/v1/": { | |
| "auth": "<base64 encoded Docker username:password>", | |
| "email": "<Docker Account Email>" | |
| } | |
| } |
| var saveJson = function(obj) { | |
| var str = JSON.stringify(obj); | |
| var data = encode( str ); | |
| var blob = new Blob( [ data ], { | |
| type: 'application/octet-stream' | |
| }); | |
| var url = URL.createObjectURL( blob ); | |
| var link = document.createElement( 'a' ); |
| #time "on" | |
| #load "Bootstrap.fsx" | |
| open System | |
| open Akka.Actor | |
| open Akka.Configuration | |
| open Akka.FSharp | |
| open Akka.TestKit | |
| // #Using Actor |