"devDependencies": {
"connect-livereload": "^0.5.3",
"express": "^4.13.3",
"gulp": "^3.9.0",
"gulp-autoprefixer": "^2.3.1",
"gulp-concat": "^2.6.0",
"gulp-jshint": "^1.11.2",
"gulp-minify-css": "^1.2.0",
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 | |
| # Remove old linux | |
| echo $(dpkg --list | grep linux-image | awk '{ print $2 }' | sort -V | sed -n '/'`uname -r`'/q;p') $(dpkg --list | grep linux-headers | awk '{ print $2 }' | sort -V | sed -n '/'"$(uname -r | sed "s/\([0-9.-]*\)-\([^0-9]\+\)/\1/")"'/q;p') | xargs sudo apt-get -y purge |
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 | |
| read -p "GitHub username: " -ei $(git config --get github.user) USERNAME | |
| read -sp "GitHub password: " PASSWORD | |
| echo | |
| read -p "Submit pull request to user: " TO_USER | |
| read -p "Submit pull request to repository: " TO_REPO | |
| read -p "Submit pull request to branch: " -ei master TO_BRANCH | |
| read -p "Submit pull request from user: " -ei $USERNAME FROM_USER | |
| read -p "Submit pull request from branch: " FROM_BRANCH |
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
| $.fn.toggleAttr = function(a, b) { | |
| var c = (b === undefined); | |
| return this.each(function() { | |
| if((c && !$(this).is("["+a+"]")) || (!c && b)) $(this).attr(a,a); | |
| else $(this).removeAttr(a); | |
| }); | |
| }; |
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 | |
| CLS | |
| goto CHECK | |
| :CHECK | |
| net session >nul 2>&1 | |
| if %errorLevel% == 0 ( | |
| goto :MENU | |
| ) else ( | |
| echo Checking permission privilege... | |
| ping 1.1.1.1 -n 1 -w 500 > nul |
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 | |
| if [ ! -f package.json ]; then | |
| echo "This script must be run from the ghost blog directory" | |
| exit 1 | |
| fi | |
| ZIP_URL=https://ghost.org/zip/ghost-latest.zip | |
| PROJ_DIR=$(pwd) | |
| TMP_DIR=$(mktemp -d -t ghost) |
NewerOlder