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
git checkout development | |
git reset --soft HEAD~1 | |
git stash | |
git fetch origin | |
git reset --hard origin/development | |
git stash pop | |
git add . | |
git commit -m ... |
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
git checkout master | |
git fetch origin -p | |
git reset --hard origin/master | |
git branch --merged | xargs git branch -d |
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
version: "3.3" | |
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/ | |
networks: | |
dns: | |
ipam: | |
config: | |
- subnet: 172.21.0.0/16 | |
services: | |
pihole: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 | |
# Inspired on: | |
# http://www.thegameengine.org/miscellaneous/streaming-twitch-tv-ubuntu/ | |
# https://wiki.archlinux.org/index.php/Streaming_to_twitch.tv | |
if [ ! -f ~/.twitch_key ]; then | |
echo "Error: Could not find file: ~/.twitch_key" | |
echo "Please create this file and copy past your stream key into it. Open this script for more details." | |
exit 1; |
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
#!/usr/bin/env bash | |
# Completely remove a file from a git repository history | |
# | |
# Copyleft 2018 by Ayrton Araujo <root _a_t_ ayr-ton _d_o_t_ net> | |
# GPL licensed (see end of file) * Use at your own risk! | |
# | |
# Usage: | |
# git-forget-blob file_to_forget | |
# If you move this script to somewhere inside $PATH you could use the script like: | |
# git forget-blob file_to_forget |
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
@ECHO OFF | |
IF NOT "%~f0" == "~f0" GOTO :WinNT | |
@"%~dp0ruby.exe" "%~dp0rails" %1 %2 %3 %4 %5 %6 %7 %8 %9 | |
GOTO :EOF | |
:WinNT | |
@"%~dp0ruby.exe" "%~dpn0" %* |
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
0.10 |
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
--- | |
- hosts: '{{ hosts }}' | |
sudo: yes | |
tasks: | |
- name: Install curl | |
apt: pkg=curl state=latest update_cache=yes | |
- name: Install docker-compose | |
shell: curl -L https://github.com/docker/compose/releases/download/1.3.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose |
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
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../paper-input/paper-input.html"> | |
<link rel="import" href="../paper-slider/paper-slider.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { |