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
javascript:(function(){window.open(window.location.href.replace(/sites.html\//g, '').concat('','.html?wcmmode=disabled'),'_blank');})(); |
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
# | |
# Nate Theme | |
# a riff of Cobalt2 Theme - https://github.com/wesbos/Cobalt2-iterm | |
# Changes: doesn't use background colors or require powerline fonts | |
# Tested on Mac OS only | |
# I'm using with Operator Mono SSm font and Misterioso iTerm color presets | |
# | |
## | |
### Segment drawing | |
# A few utility functions to make it easy and re-usable to draw segmented prompts |
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
<!--/* More: https://docs.adobe.com/docs/en/htl/docs/block-statements.html#resource */--> | |
<!--/* By default, the AEM decoration tags are disabled, the decorationTagName option allows to bring them back, and the cssClassName to add classes to that element. */--> | |
<div data-sly-resource="${'headline' @ | |
resourceType='about-project/components/content/c34-section-headline', | |
decorationTagName='span', | |
cssClassName='className' | |
}"></div> | |
<!--/* More about the decoration tag: https://docs.adobe.com/docs/en/aem/6-3/develop/components/decoration-tag.html */--> |
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
Examples below |
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
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
var postcss = require('gulp-postcss'); | |
var autoprefixer = require('autoprefixer'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var app = 'ui.apps/src/main/content/jcr_root/apps/__YOURappName__/'; | |
function styles() { | |
return gulp.src([app+'**/*.scss']) | |
.pipe(sourcemaps.init()) |
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 | |
for i in `brew list -1` | |
do | |
if [[ "$i" == python.* ]] || [[ "$i" == ruby.* ]] | |
then | |
continue | |
fi | |
brew rm --force $i && brew install $i | |
done |
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
python -m SimpleHTTPServer 8080 |
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 | |
raspivid -o - -t 0 -vf -hf -w 1640 -h 1232 -fps 40 -b 6000000 | avconv -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i - -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental -f flv rtmp://live-atl.twitch.tv/app/UPDATE_KEY_HERE |
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 | |
sudo pkill -f "raspivid" | |
sudo pkill -f "avconv" |
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
sudo apt-get update | |
sudo apt-get install libav-tools |
NewerOlder