Skip to content

Instantly share code, notes, and snippets.

View opensourcekam's full-sized avatar
🎯
Focusing

✨OSKAM✨ opensourcekam

🎯
Focusing
View GitHub Profile
@opensourcekam
opensourcekam / FadeIn.js
Created August 6, 2018 20:59
fade in animation
import { keyframes } from 'styled-components';
const FadeIn = keyframes`
from { opacity: 0; }
`;
export default FadeIn;
from instapy import InstaPy
insta_username = '<username>'
insta_password = '<password>'
dont_like = ['food', 'girl', 'hot','thot']
ignore_words = ['ass', 'phatass']
friend_list = ['friend1', 'friend2', 'friend3']
comment_list = ['✨🔥™', '✨👽™', '✨🛸™']
like_by_tag_list = [
@opensourcekam
opensourcekam / syncWork.sh
Last active March 8, 2018 19:04
A small command line function to sync the current branch with my upstream master (just add to .bash_profile)
alias pus="git fetch upstream master"
alias mus="git merge upstream/master"
WB=$(git rev-parse --abbrev-ref HEAD) # get current working branch
function syncWork {
echo "You are working on ${WB}"
echo "Would you like to pull and merge upstream master?"
OPTIONS="Yes No"
select opt in $OPTIONS; do
if [ "$opt" = "Yes" ]; then
@opensourcekam
opensourcekam / fetch.js
Created November 16, 2017 18:30
fetch from external origin example
var myHeaders = new Headers();
myHeaders.append('Content-Type', 'application/json');
fetch('/contact-form', {
method: 'POST',
headers: myHeaders,
mode: 'cors',
cache: 'default',
body: JSON.stringify(fields)
@opensourcekam
opensourcekam / multiple_ssh_setting.md
Created September 20, 2017 16:35 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
import React from 'react';
import ReactHowler from 'react-howler';
import raf from 'raf'; // requestAnimationFrame polyfill
export default class FullControlWithDataVis extends React.Component {
constructor (props) {
super(props);
this.state = {
playing: false,
@opensourcekam
opensourcekam / index.html
Created February 24, 2017 02:46
tempo_GRAPH
<audio id="audioElement" autoPlay loop src="//cdn.mos.musicradar.com/audio/samples/ambient-demo-loops/AM_RhodesVerb120E-03.mp3"></audio>
<audio id="audioElement2" autoPlay loop src="//cdn.mos.musicradar.com/audio/samples/ambient-demo-loops/AM_HoleDrumB80-06.mp3"></audio>
@opensourcekam
opensourcekam / index.jade
Created October 4, 2016 23:38
Lets go trip view
section.userTripCard
figure
img(src="https://scontent.xx.fbcdn.net/v/t1.0-1/p200x200/11148661_114117545654114_7255501261782053014_n.jpg?oh=7832195a0ea0267945a2d714fe1060f9&oe=5868D196")
div
p Rhianna is planning a trip to
span London, United Kingdom
div.budget
canvas
@opensourcekam
opensourcekam / card-markup.markdown
Last active September 18, 2016 17:16
Card markup