As a freelancer, I build a lot of web sites. That's a lot of code changes to track. Thankfully, a Git-enabled workflow with proper branching makes short work of project tracking. I can easily see development features in branches as well as a snapshot of the sites' production code. A nice addition to that workflow is that ability to use Git to push updates to any of the various sites I work on while committing changes.
wget --no-check-certificate https://download.mikrotik.com/routeros/6.41.3/chr-6.41.3.img.zip
sudo gunzip -c chr-6.41.3.img.zip | sudo dd of=/dev/sda bs=1M
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
module Main exposing (..) | |
import Html exposing (Html, div, text, program) | |
-- MODEL | |
type alias Model = | |
String |
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 | |
# | |
#@script : sb_installer.sh | |
#@about : install streambuilder on client side | |
#@usage : | |
# $ wget -q http://repo.streambuilder.pro/open/binary/sb_installer.sh && bash sb_installer.sh | |
# | |
# TODO: | |
# for centos: | |
# $ cat /etc/redhat-release |
/metarouter interface add virtual-machine=mr1 type-dynamic dynamic-bridge=bridge
/metarouter console 0
root@OpenWrt:/# vi /etc/config/network
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
import requests, shutil, os | |
from time import sleep | |
URL = {1:'http://211.110.86.210/video/_definst_/smil:mvod/20181116/998/F764D250_208789998_{}.smil/media_b4000000_t64b3JpZ2luYWw=_{}.ts', | |
2:'http://101.79.136.27/video/_definst_/smil:mvod/20181116/998/B38B6850_208789998_{}.smil/media_b4000000_t64b3JpZ2luYWw=_{}.ts', | |
3:'http://101.79.136.27/video/_definst_/smil:mvod/20181116/998/1744DC8E_208789998_{}.smil/media_b4000000_t64b3JpZ2luYWw=_{}.ts', | |
} | |
DownFolder = '38699638' | |
try : |
OlderNewer