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
| Package.describe({ | |
| summary: "Meteor version of footballbot" | |
| }); | |
| Npm.depends({'footballbot':"1.2.0"}); | |
| Package.on_use(function (api, where) { | |
| api.add_files('server/fbot.js', ['server']); | |
| }); |
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
| artoo.scrape('tr.song-row', { | |
| title: {sel:'td[data-col="title"] span'}, | |
| artist : { sel:'td[data-col="artist"] span'}, | |
| album : {sel:'td[data-col="album"] span'} | |
| }, artoo.saveCsv); | |
| // saves google music songs/playlists |
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()%7B%24('.sc-button-download').each(function(key%2Cval )%7Blike %3D %24(val).parent('div')%3Blike %3D %24(like).children('button.sc-button-like'); like.trigger("click")%7D)%7D)() |
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
| curl https://raw.github.com/adimania/arch-desktop-environments/master/XFCE-Arch-RPi.sh | bash |
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 fdisk -l | |
| //find active sd card | |
| // copy image over | |
| ssh pi@raspberry sudo dd if=/dev/mmcblk0 | gzip -c > raspberry.img.gz |
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 mount -t cifs //bthub/usb1 hdd -o rw |
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
| DELETE * | |
| FROM `wp_postmeta` | |
| WHERE `meta_key` = 'vanity_url' | |
| OR `meta_key` = '_dest_page_id' | |
| DELETE * | |
| FROM `wp_posts` | |
| WHERE `post_type` = 'vanity_url' | |
| DELETE FROM `wp_fusion`.`wp_posts` WHERE `wp_posts`.`ID` = 489 LIMIT 1; |
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
| arr=([email protected]:asd/dasde.git | |
| [email protected]:asform/dni_wpasdager.git | |
| ) | |
| for git in "${arr[@]}" | |
| do | |
| git clone $git | |
| 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
| files=`ls $1` | |
| for file in $files; do | |
| if [ -d $file ];then | |
| cd $file | |
| git pull | |
| git checkout rel-15 | |
| cd .. | |
| fi | |
| 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
| Sub GetAllText() | |
| Dim p As Presentation: Set p = ActivePresentation | |
| Dim s As Slide | |
| Dim sh As Shape | |
| For Each s In p.Slides | |
| For Each sh In s.Shapes | |
| If sh.HasTextFrame Then | |
| If sh.Type = msoShapeStylePreset1 Then | |
| If sh.Fill.ForeColor = RGB(242, 242, 242) Or sh.Fill.BackColor = RGB(242, 242, 242) Then | |
| If sh.TextFrame.HasText Then |