See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
export function find_total( my_numbers ) { | |
//Insert your code here | |
let score = 0 | |
my_numbers.forEach((x)=>{ | |
if(x%2==0){ | |
score = score + 1 | |
}else if(x % 2 != 0 && x !== 5){ | |
score = score + 3 | |
}else{ |
// fizz buzz | |
for (a=1 ; a < 101 ; a ++){ | |
a % 15 == 0 | |
? console.log('fizzBuzz') | |
: a % 3 === 0 | |
? console.log('fizz') | |
: a % 5 === 0 | |
? console.log('Buzz') | |
: console.log(a) | |
} |
Download and run the Adobe Creative Cloud Cleaner Tool, their multi-app uninstaller and wipe assistant. Adobe does recommend running individual application uninstallers first, your call. Click the Clean All option.
Type a one line command in terminal find ~/ -iname "*adobe*"
and it's shows up all files which match pattern.
To remove all files
`sudo rm -rf /Applications/Adobe* /Applications/Utilities/Adobe* /Library/Application\ Support/Adobe /Library/Preferences/com.adobe.* /Library/PrivilegedHelperTools/com.adobe.* /private/var/db/receipts/com.adobe.* ~/Library/Application\ Support/Adobe* ~/Library/Application\ Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.adobe* ~/Library/Application\ Support/CrashReporter/Adobe* ~/Library/Caches/Adobe ~/Library/Caches/com.Adobe.* ~/Library/Caches/com.adobe.* ~/Library/Cookies/com.adobe.* ~/Library/Logs/Adobe* ~/Librar
var CryptoJS = require('crypto-js'); | |
function uploadImage(uri) { | |
let timestamp = (Date.now() / 1000 | 0).toString(); | |
let api_key = 'your api key' | |
let api_secret = 'your api secret' | |
let cloud = 'your cloud name' | |
let hash_string = 'timestamp=' + timestamp + api_secret | |
let signature = CryptoJS.SHA1(hash_string).toString(); | |
let upload_url = 'https://api.cloudinary.com/v1_1/' + cloud + '/image/upload' |
# IMPORTS | |
from random import uniform | |
from copy import deepcopy | |
# TUNABLE CONSTANTS | |
swarm_size = 10 | |
w = 0.729844 | |
c1 = 1.496180 | |
c2 = 1.496180 |