A flock of paper planes created with D3.js
A Pen by Apon Palanuwech on CodePen.
A flock of paper planes created with D3.js
A Pen by Apon Palanuwech on CodePen.
An opinionated way to implement page transitions in a Backbone.js application. Part of a larger post found here: http://mikefowler.me/2013/11/18/page-transitions-in-backbone/
A Pen by Mike Fowler on CodePen.
guard 'shell' do | |
watch(/(.*).(?:haml|ya?ml)/) do |file| | |
haml_file = file.first.gsub(/ya?ml/,'haml') | |
html_file = file.first.gsub(/[yh]a?ml/,'html') | |
puts "Converting #{haml_file} to #{html_file}" | |
`haml #{haml_file} > #{html_file} --trace` | |
end | |
end |
#!/bin/sh | |
echo Install Xcode first! | |
# no solution to automate AppStore installs | |
read -p "Press any key to continue... " -n1 -s | |
echo '\n' | |
xcode-select --install | |
echo Install Homebrew, Postgres, wget and cask | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew tap homebrew/science | |
brew install zsh zsh-completions |
# Backup | |
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
# Restore | |
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
#!/bin/bash | |
##################################################### | |
# Name: Bash CheatSheet for Mac OSX | |
# | |
# A little overlook of the Bash basics | |
# | |
# Usage: | |
# | |
# Author: J. Le Coupanec | |
# Date: 2014/11/04 |
Here are the simple steps needed to create a deployment from your lokal GIT repository to a server based on this in-depth tutorial.
You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like my Deepl.io to act upon a Web-Hook that's triggered that service.
<?php | |
$posts = array(); | |
$args = array( | |
'posts_per_page' => 100, | |
'offset' => 0, | |
'post_type' => 'post', | |
'post_status' => 'publish', | |
); |
const axios = require('axios') | |
const igHandle = 'jennieramida' | |
const sessionId = '9218400%3AGJqz0Eewttl0x8%3A13' | |
const Cookie = `sessionid=${sessionId}` | |
let i = 0 | |
async function requestUserData () { | |
const url = `https://www.instagram.com/${igHandle}/?__a=1` | |
console.info(`Making request to: ${url}`) |
{"lastUpload":"2021-09-02T08:49:42.227Z","extensionVersion":"v3.4.3"} |