/app
βββ /Application
| βββ /Exceptions
| βββ /Middlewares
| βββ /Providers
| βββ /Requests
βββ /Domain
| βββ /MyDomainA
| | βββ /Contracts
function memorySizeOf(obj) { | |
var bytes = 0; | |
function sizeOf(obj) { | |
if (obj !== null && obj !== undefined) { | |
switch (typeof obj) { | |
case "number": | |
bytes += 8; | |
break; | |
case "string": |
βοΈ feat: add beta sequence (new feature) | |
π fix: remove broken confirmation message (bug fix) | |
β»οΈ refactor: share logic between 4d3d3d3 and flarhgunnstow (refactoring production code) | |
π style: convert tabs to spaces (formatting, missing semi colons, etc; no code change) | |
π test: ensure Tayne retains clothing (adding missing tests, refactoring tests; no production code change) | |
π chore: add Oyster build script (updating grunt tasks etc; no production code change) | |
π docs: explain hat wobble (changes to documentation) | |
Sources: | |
https://seesparkbox.com/foundry/semantic_commit_messages |
# This script is used to download images given a list of urls | |
imgdir=$1 | |
urllist=$2 | |
mkdir $imgdir | |
while read p; | |
do | |
wget $p -P $imgdir | |
done < $urllist |
The Luhn test is used by some credit card companies to distinguish valid credit card numbers from what could be a random selection of digits. Those companies using credit card numbers that can be validated by the Luhn test have numbers that pass the following test: Reverse the order of the digits in the number. Take the first, third, ... and every other odd digit in the reversed digits and sum them to form the partial sum s1 Taking the second, fourth ... and every other even digit in the reversed digits: Multiply each digit by two and sum the digits if the answer is greater than nine to form partial sums for the even digits Sum the partial sums of the even digits to form s2. If s1 + s2 ends in zero then the original number is in the form of a valid credit card number as verified by the Luhn test.
// Report on "stuck" ether in empty contracts | |
// https://github.com/ethereum/EIPs/issues/156 | |
// Usage: node find-stuck-ether.js [startBlock] [endBlock] > report.txt | |
let Eth = require('ethjs'); | |
let eth = new Eth(new Eth.HttpProvider('http://localhost:8545')); | |
let ethutil = require('ethereumjs-util') | |
async function main() { |
#!/bin/bash | |
APIKEY="From Here https://api.slack.com/custom-integrations/legacy-tokens" | |
SONG=$(osascript -e 'tell application "Spotify" to name of current track as string') | |
URLSONG=$(echo "$SONG" | perl -MURI::Escape -ne 'chomp;print uri_escape($_),"\n"') | |
while true | |
do | |
curl -s -d "payload=$json" "https://slack.com/api/users.profile.set?token="$APIKEY"&profile=%7B%22status_text%22%3A%22"$URLSONG"%22%2C%22status_emoji%22%3A%22%3Amusical_note%3A%22%7D" > /dev/null | |
sleep 60 | |
done |
- Do you have an Github account ? If not create one.
- Install required tools
- Latest Git Client
- gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
People
![]() :bowtie: |
π :smile: |
π :laughing: |
---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |