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
| Please first try recreating Licensing Store. | |
| Recreate the Licensing Store | |
| Go to Start > All Programs > Accessories | |
| Right-Click on Command Prompt and select Run as Administrator - accept the UAC prompt | |
| Run the following commands in the Command Prompt window, using the Enter key at the end of each | |
| net stop sppsvc | |
| (wait until the service has stopped before entering the following lines) |
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
| Eat Pray Love |
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
| #!!!! | |
| so reboot first | |
| can do this command | |
| ye ! | |
| apt-get remove `dpkg --list 'linux-image*' |grep ^ii | awk '{print $2}'\ | grep -v \`uname -r\`` |
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
| like perl ruby << | |
| How about a "here document" | |
| ssh otherhost << EOF | |
| ls some_folder; | |
| ./someaction.sh 'some params' | |
| pwd | |
| ./some_other_action 'other params' |
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/bash | |
| echo "===================" | |
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/sh | |
| # | |
| # commandlinefu - Simple shell script using commandlinefu.com API | |
| # | |
| # All commands sorted by date: | |
| # % commandlinefu | |
| # | |
| # All commands sorted by votes: | |
| # % commandlinefu -v | |
| # |
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 fetch --all | |
| git reset --hard origin/master | |
| git fetch downloads the latest from remote without trying to merge or rebase anything. Then the git reset resets the master branch to what you just fetched.\ | |
| git push -f // push & override | |
| Note that this will blow away other people's code. | |
| res: |
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
| ( ͡° ͜ʖ ͡°) |
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
| require 'net/http' | |
| url = URI.parse('http://localhost:3000/') | |
| req = Net::HTTP::Get.new(url.to_s) | |
| res = Net::HTTP.start(url.host, url.port) {|http| | |
| http.request(req) | |
| } | |
| puts res.body |
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
| source 'https://rubygems.org' | |
| # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
| gem 'rails', '4.1.4' | |
| # Use sqlite3 as the database for Active Record | |
| gem 'sqlite3' | |
| # Use SCSS for stylesheets | |
| gem 'bootstrap-sass' | |
| gem 'sass-rails', '~> 4.0.3' | |
| gem 'bootswatch-rails' |
NewerOlder