Skip to content

Instantly share code, notes, and snippets.

{
"cmd": ["%SystemRoot%\\system32\\WindowsPowerShell\\v1.0\\powershell.exe", "./build.ps1"],
"shell": true,
"working_dir": "${project_path}"
}
#include <iostream>
#include <string>
#include <cstring>
using namespace std;
//reverse string
string bt_reverse(string input) {
return string(input.rbegin(),input.rend());
}
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
<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>
@benjarry
benjarry / scratch.txt
Last active August 29, 2015 14:08 — forked from mattray/scratch.txt
require 'mixlib/shell_out'
find = Mixlib::ShellOut.new("find . -name '*.rb'")
find.run_command
unless find.exit_status == '0'
include_recipe "foo::bar"
end