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
Show hidden characters
{ | |
"cmd": ["%SystemRoot%\\system32\\WindowsPowerShell\\v1.0\\powershell.exe", "./build.ps1"], | |
"shell": true, | |
"working_dir": "${project_path}" | |
} |
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
#include <iostream> | |
#include <string> | |
#include <cstring> | |
using namespace std; | |
//reverse string | |
string bt_reverse(string input) { | |
return string(input.rbegin(),input.rend()); | |
} |
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
How to install SASS on Windows 7 | |
1 - Download the ruby http://rubyinstaller.org/downloads/ | |
2 - Click install and select the option to create environment variables | |
( | |
If you forgot to schedule go to: | |
My Computer> Properties> Advanced Options> Environment Variables | |
Look for path and put in the path of the ruby bin installed, eg: C:\Ruby193\bin; | |
) | |
3 - Open cmd and download the gem of the SASS, typing: gem install sass |
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
<html> | |
<head> | |
<meta name="robots" content="noindex,nofollow"/> | |
<meta http-equiv="cache-control" content="max-age=0"/> | |
<meta http-equiv="cache-control" content="no-cache"/> | |
<meta http-equiv="expires" content="0"/> | |
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT"/> | |
<meta http-equiv="pragma" content="no-cache"/> | |
</head> | |
<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
require 'mixlib/shell_out' | |
find = Mixlib::ShellOut.new("find . -name '*.rb'") | |
find.run_command | |
unless find.exit_status == '0' | |
include_recipe "foo::bar" | |
end | |