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
# Created by https://www.gitignore.io/api/windows | |
### Windows ### | |
# Windows image file caches | |
Thumbs.db | |
ehthumbs.db | |
# Folder config file | |
Desktop.ini |
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
{ | |
"locations" : [ { | |
"timestampMs" : "1463503818004", | |
"latitudeE7" : -233295844, | |
"longitudeE7" : -511776429, | |
"accuracy" : 38, | |
"activitys" : [ { | |
"timestampMs" : "1463503813318", | |
"activities" : [ { | |
"type" : "still", |
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
"LCM" | |
0.2 67223.5 | |
0.3 57739.8 | |
0.4 26998.7 | |
0.5 17645.0 | |
0.6 12286.6 | |
0.7 9280.72 | |
0.8 7321.65 | |
0.9 5972.66 |
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
def convert(in_file, out_file): | |
name = "" | |
for line in in_file: | |
line = line.strip() | |
print(line) | |
if line == "": | |
continue | |
if line.startswith('"'): | |
name = line.strip('"') | |
print("NAME:: " + name) |
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
//In config/bootstrap.php | |
/** | |
* Set the default locale. This controls how dates, number and currency is | |
* formatted and sets the default language to use for translations. | |
*/ | |
ini_set('intl.default_locale', 'pt_BR'); | |
// Part of my po file in: src/Locale/pt_BR | |
msgid "Actions" |
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
<?php | |
namespace App\Test\Fixture; | |
use Cake\TestSuite\Fixture\TestFixture; | |
/** | |
* SchoolsFixture | |
* | |
*/ | |
class SchoolsFixture extends TestFixture |
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 | |
# If there is not a build folder, create it | |
[ ! -d "build" ] && mkdir build | |
# Write build files inside build folder | |
cmake . -B./build | |
# Build the project using 8 parallel threads | |
# Let the user input additional parameters like: |
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 | |
#### | |
# To use this script I'd recommend installing RVM | |
##### | |
# Check dependencies | |
command -v gem >/dev/null 2>&1 || { echo >&2 "I require rubygems but it's not installed. Aborting."; exit 1; } | |
command -v git >/dev/null 2>&1 || { echo >&2 "I require git but it's not installed. Aborting."; exit 1; } |
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
ROOT = File.expand_path(File.dirname(__FILE__)) | |
WEBROOT = File.expand_path("../", Dir.pwd) | |
PRODUCTION = false | |
COMPASS = true | |
class Convert < Thor | |
desc "sass", "converts and puts sass in webroot" |
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 | |
# Add tex root information to the beginning of each file in directory | |
for file in src/chapters/*; do; echo $file; echo '% !TEX root =../qualificacao.tex' | cat - $file > temp && mv -f temp $file && rm -f temp; done |