This file contains 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 | |
# | |
# From: https://gist.github.com/michaeltwofish/5096740 | |
# Kipras: | |
# - modified to run against develop instead of master | |
# - made a small fix to run within Git bash on Windows | |
# - uncommented local branch deleting (in original this was commented out, | |
# deleting only remote branches for some reason) | |
# | |
# Remove branches that have been fully merged to master, except dev |
This file contains 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/sh | |
# | |
# From: http://graysky.org/2008/12/git-branch-auto-tracking/ | |
# | |
# git-track should be added to your path. | |
# Sets up auto-tracking of a remote branch with same base name. | |
# Can set up "git track" so it feels built-in: | |
# git config --global --add alias.track '!git-track' | |
# | |
# Update: changed the way current branch name is determined, see: |
This file contains 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
/** | |
* A Javascript object to encode and/or decode html characters using HTML or Numeric entities that handles double or partial encoding | |
* Author: R Reid | |
* source: http://www.strictly-software.com/htmlencode | |
* Licences: GPL, The MIT License (MIT) | |
* Copyright: (c) 2011 Robert Reid - Strictly-Software.com | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABI |
This file contains 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/sh | |
# | |
# From: https://gist.github.com/vmassuchetto/6225959#file-purge-sh | |
# Usage: run from within the Vagrant box, with sudo, e.g.: | |
# sudo ~/basebox-before-package.sh | |
# Then run "vagrant package" from outside the Vagrant box. | |
# | |
# Credits to: | |
# - http://vstone.eu/reducing-vagrant-box-size/ | |
# - https://github.com/mitchellh/vagrant/issues/343 |
This file contains 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/sh | |
# | |
# git-stash-push | |
# Push working tree onto the stash without modifying working tree. | |
# First argument (optional) is the stash message. | |
if [ -n "$1" ]; then | |
git update-ref -m "$1" refs/stash "$(git stash create \"$1\")" | |
else | |
HASH=`git stash create` | |
MESSAGE=`git log --no-walk --pretty="tformat:%-s" "$HASH"` |
This file has been truncated, but you can view the full file.
This file contains 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
{"_id":"555caa47a3d53797255b23c7","index":0,"guid":"5161dcfd-484a-434a-82aa-477b77b1af8c","isActive":true,"balance":"$1,915.76","picture":"http:\/\/placehold.it\/32x32","age":39,"eyeColor":"blue","name":"Corrine Snow","gender":"female","company":"TELPOD","email":"[email protected]","phone":"+1 (980) 517-3400","address":"799 Grand Street, Calpine, Guam, 2840","about":"Commodo sint deserunt tempor magna incididunt sint nisi magna veniam. Adipisicing ea amet Lorem aliqua reprehenderit fugiat dolor aliquip in tempor et reprehenderit enim elit. Ea aliqua aliqua laborum Lorem. Aliquip Lorem culpa nostrud sunt ullamco aliquip minim cupidatat qui dolor. Consectetur quis irure est ex ad mollit velit consectetur eiusmod culpa. Dolore non culpa ad eiusmod incididunt reprehenderit nulla. Ex nostrud culpa esse nostrud id tempor officia laboris aute.\r\n","registered":"2014-10-09T14:13:25 -03:00","latitude":-10.22061,"longitude":-118.137884,"tags":["cupidatat","consequat","non","reprehenderit","ut","Lorem","eu"],"frie |
This file has been truncated, but you can view the full file.
This file contains 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
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam gravida erat ut convallis malesuada. Duis imperdiet est ut augue pharetra varius. Aliquam enim eros, ornare et turpis in, semper aliquet ante. Nam ac nunc id quam volutpat scelerisque nec id felis. Vestibulum tempus eros quis mi dapibus, eu placerat urna pharetra. Phasellus in congue quam. Ut varius a purus a accumsan. Duis tincidunt blandit felis at placerat. Aenean convallis, massa sed egestas rutrum, libero est rutrum massa, ut efficitur enim turpis sed ipsum. | |
Ut non enim sit amet orci fermentum ultricies a eu enim. Nam ac cursus ligula, id viverra enim. Integer lobortis rhoncus lacus, in posuere mi molestie tincidunt. Ut volutpat consequat risus at blandit. Nullam luctus pellentesque rhoncus. Fusce varius blandit nulla, non tincidunt urna. Mauris commodo id tortor ut pretium. Nunc ac sollicitudin nulla. Sed ultricies arcu nibh, a varius urna tristique et. Nulla sed condimentum lectus, tempor dictum urna. Vivamus ac mi vel mi finibus rhoncus |
This file contains 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
2016/02/04 23:15:50 Input started: TcpInput | |
panic: runtime error: invalid memory address or nil pointer dereference | |
[signal 0xb code=0x1 addr=0x70 pc=0x4a4e8e] | |
goroutine 179 [running]: |
This file contains 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
From ad13d2c326c2e0ee44f7a2653a06786bf6f65477 Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?Kipras=20Mancevi=C4=8Dius?= <[email protected]> | |
Date: Fri, 5 Aug 2016 17:25:04 +0300 | |
Subject: [PATCH] Attempt to fix infinite loop and memory leaks caused by dynamic servers module | |
--- | |
.../http/modules/ngx_http_upstream_keepalive_module.c | 19 +++++++++++++++++-- | |
1 file changed, 17 insertions(+), 2 deletions(-) | |
diff --git a/bundle/nginx-1.9.7/src/http/modules/ngx_http_upstream_keepalive_module.c b/bundle/nginx-1.9.7/src/http/modules/ngx_http_upstream_keepalive_module.c |
This file contains 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
# This is a Dockerfile for building a Docker image containing a recent `curl`, with HTTP/2 and | |
# TLSv1.3 support. The exact versions of `curl` and it's dependencies that are used are: | |
# curl-7.61.0 | |
# openssl-1.1.1 | |
# nghttp2-1.32.0 | |
# | |
# Building | |
# 1. download `curl.Dockerfile` | |
# 2. run | |
# docker build -t curl -t curl:7.61.0 -f curl.Dockerfile . |
OlderNewer