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
| #!/usr/bin/env php | |
| <?php | |
| # install helpers in bin | |
| # Usage: dpm-install-helpers | |
| include(dirname(__FILE__) . '/../../src/php/lib/lib.php'); | |
| $loader = require dirname(__FILE__) . '/../../src/php' . '/vendor/vendor/autoload.php'; | |
| use Symfony\Component\Finder\Finder; |
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
| # from: https://nmilosev.svbtle.com/termuxfedora-install-fedora-on-your-phone-with-termux | |
| # install: | |
| # - install termux | |
| # - wget this gist | |
| # - sh | |
| apt update && apt install wget -y && /data/data/com.termux/files/usr/bin/wget https://raw.githubusercontent.com/nmilosev/termux-fedora/master/termux-fedora.sh && sh termux-fedora.sh | |
| sh termux-fedora.sh f26_arm64 | |
| startfedora |
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 | |
| rm -rf /home/user/mp3 | |
| mkdir /home/user/mp3 | |
| cd /home/user/mp3 | |
| mkdir .gd | |
| cd .gd | |
| cp ~/credentials.json . | |
| cd .. |
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
| FROM ubuntu:16.04 | |
| RUN apt-get update && apt-get install -y curl git python g++ build-essential python-pip ffmpeg sudo php7.0 | |
| # install youtube-dl | |
| RUN pip install youtube-dl | |
| # Install drive | |
| RUN mkdir -p /goroot && \ | |
| curl https://storage.googleapis.com/golang/go1.8.1.linux-amd64.tar.gz | tar xvzf - -C /goroot --strip-components=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
| function main() { | |
| { | |
| let bb = doSomething1() | |
| let mm = doSomething2(bb, 'ww') | |
| } | |
| function doSomething2(var1, var2) { |
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
| " begin | |
| " Copy paste this into options.html | |
| " first lines copied into options | |
| let configpath = '/home/hassen/.cvimrc' | |
| let homedirectory = '/home/hassen' | |
| " this would load this file into the options page | |
| set localconfig | |
| """" | |
| " end |
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
| chrome.runtime.getPackageDirectoryEntry(function (dir) { | |
| window.dir = dir; | |
| console.log(dir) | |
| dir.getFile('version.txt', {}, function (fe) { |
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
| <!-- view ruby vrome --> | |
| <textarea onkeyup="getLineNumberAndColumnIndex(this);" id="txt" rows="14" cols="60" style="background-color: black; color: white;"> | |
| asdsadh | |
| das | |
| d | |
| d |