Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
A complete list of RxJS 5 operators with easy to understand explanations and runnable examples.
| // | |
| // RecordAudio.swift | |
| // | |
| // This is a Swift class (updated for Swift 5) | |
| // that uses the iOS RemoteIO Audio Unit | |
| // to record audio input samples, | |
| // (should be instantiated as a singleton object.) | |
| // | |
| // Created by Ronald Nicholson on 10/21/16. | |
| // Copyright © 2017,2019 HotPaw Productions. All rights reserved. |
| ssh-keygen | |
| -t ed25519 - for greatest security (bits are a fixed size and -b flag will be ignored) | |
| -t rsa - for greatest portability (key needs to be greater than 4096 bits) | |
| -t ecdsa - faster than RSA or DSA (bits can only be 256, 284, or 521) | |
| -t dsa - DEEMED INSECURE - DSA limted to 1024 bit key as specified by FIPS 186-2, No longer allowed by default in OpenSSH 7.0+ | |
| -t rsa1 - DEEMED INSECURE - has weaknesses and shouldn't be used (used in protocol 1) | |
| -b 4096 bit size | |
| -a 500 rounds (should be no smaller than 64, result in slower passphrase verification and increased resistance to brute-force password cracking) | |
| -C "[email protected]" comment.. |
| import requests | |
| import base64 | |
| from tqdm import tqdm | |
| master_json_url = 'https://178skyfiregce-a.akamaihd.net/exp=1474107106~acl=%2F142089577%2F%2A~hmac=0d9becc441fc5385462d53bf59cf019c0184690862f49b414e9a2f1c5bafbe0d/142089577/video/426274424,426274425,426274423,426274422/master.json?base64_init=1' | |
| base_url = master_json_url[:master_json_url.rfind('/', 0, -26) + 1] | |
| resp = requests.get(master_json_url) | |
| content = resp.json() |
| // | |
| // RecordAudio.swift | |
| // | |
| // This is a Swift 3.0 class | |
| // that uses the iOS Audio Unit v3 API and RemoteIO Audio Unit | |
| // to record audio input samples, | |
| // (should be instantiated as a singleton object.) | |
| // | |
| // Created by Ronald Nicholson on 10/21/16. | |
| // Copyright © 2016 HotPaw Productions. All rights reserved. |
| function logClass(target: any) { | |
| // save a reference to the original constructor | |
| var original = target; | |
| // a utility function to generate instances of a class | |
| function construct(constructor, args) { | |
| var c : any = function () { | |
| return constructor.apply(this, args); | |
| } |
| /* | |
| == Adapted from the code over at https://gist.github.com/graymouser/a33fbb75f94f08af7e36 == | |
| Log into your account at packtpub.com and save the cookies with the "cookies.txt" Chrome extension or the "Export cookies" Firefox extension into the file cookies.txt. | |
| Then open the console in your browsers dev tools and paste the following code. | |
| You will get a list of wget commands that you can copy and paste as a whole into a terminal to download all books. | |
| Example: wget --load-cookies=cookies.txt --content-disposition "https://packtpub.com//ebook_download/20217/mobi" -O "R Data Visualization Cookbook.mobi" | |
| If you only want some filetypes, edit the "pattern" vaiable accordingly. |
| /* | |
| == Adapted from the code over at https://gist.github.com/graymouser/a33fbb75f94f08af7e36 == | |
| Log into your account at packtpub.com and save the cookies with the "cookies.txt" Chrome extension or the "Export cookies" Firefox extension into the file cookies.txt. | |
| Then open the console in your browsers dev tools and paste the following code. | |
| You will get a list of wget commands that you can copy and paste as a whole into a terminal to download all books. | |
| Example: wget --load-cookies=cookies.txt --content-disposition "https://packtpub.com//ebook_download/20217/mobi" -O "R Data Visualization Cookbook.mobi" | |
| If you only want some filetypes, edit the "pattern" vaiable accordingly. |
| var time = 60; var clock = 300; function TimeHack(){ | |
| setInterval(function Applytime() { | |
| document.getElementsByClassName('timerLabel whiteTextWithShadow font-60 ng-binding')["0"].innerText = time; document.getElementsByClassName('timerLabel whiteTextWithShadow font-60 ng-binding')["0"].innerHtml = time; | |
| document.getElementsByClassName('clockHand').rotate = clock; | |
| }, 1);}; function TimeHackm() { | |
| setInterval(function Addtime() { | |
| time = time + 1; | |
| clock = clock + 6; | |
| }, 1000);} | |
| var score = 1; |