function arrange(str) {
var words = str.split(' ');
for (var d = 1, j = 0, i = 1; i < words.length; i++) {
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { | |
registerNotificationTypes() | |
return true | |
} | |
func registerNotificationTypes() { | |
let types: UIUserNotificationType = .Badge | .Sound | .Alert; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Deploying Resume Wrangler | |
### Downloading App | |
1. Create a repo folder | |
2. Download git repo | |
```sh | |
git clone https://avalonconsultingllc.git.beanstalkapp.com/avalonresumewrangler.git | |
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
red='\033[0;31m' | |
green='\033[0;32m' | |
yellow='\033[0;33m' | |
no_color='\033[0m' | |
BRANCH="$(git symbolic-ref HEAD 2>/dev/null)" | |
if [ $? != 0 ] | |
then | |
DETATCHED="detached HEAD at $(git rev-parse --short HEAD)" | |
echo -e "\n${red} You are currently on ${DETATCHED}. Please make sure you're on a valid branch before pushing. ${no_color}\n" |
ECMA Modules
- .mjs
- import/export
Numeric Literals
- Big Int
Async iterators/generators
- for await
- Easily SSH using PUTTY by creating a shortcut passing in username and server
"C:\Program Files\PuTTY\putty.exe" -ssh user@<hostname>
- Copy files from Windows to Linux and Linux to Windows
pscp -scp "C:\local\path\to\file" user@<hostname>:/remote/path/to/file
pscp -scp user@<hostname>:/remote/path/to/file "C:\local\path\to\file"
- Moving around the command line
- Use the last argument from a previous command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JSON, not Jason - Computerphile | |
140K views | |
5 days ago | |
17:26 | |
GUI: Under the Hood - Computerphile | |
70K views | |
1 week ago | |
CC | |
12:09 | |
How Password Managers Work - Computerphile |
How to Contribute to Open Source
- These dedicated sites
- Your First PR
- [Awesome for Beginners](https://github.com/mungell/awesome-for-beginners
- [Up For Grabs](https://up-for-grabs.net/#/
- [Issuehub.io](http://issuehub.io/
- First Timers Only
- The Explore page on Github page
- Code for America