精简了上游直播源内容,仅保留个人所需的。
https://gist.githubusercontent.com/inkss/0cf33e9f52fbb1f91bc5eb0144e504cf/raw/ipv6.m3u
| const axios = require('axios') | |
| /* ... */ | |
| const params = new URLSearchParams() | |
| params.append('name', 'Akexorcist') | |
| params.append('age', '28') | |
| params.append('position', 'Android Developer') | |
| params.append('description', 'birthdate=25-12-1989&favourite=coding%20coding%20and%20coding&company=Nextzy%20Technologies&website=http://www.akexorcist.com/') | |
| params.append('awesome', true) |
| package main | |
| import ( | |
| "crypto/tls" | |
| "encoding/base64" | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "net/smtp" | |
| "strings" |
| #!/usr/bin/env bash | |
| # Install the latest version of git on CentOS 6.x | |
| # Install Required Packages | |
| sudo yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel | |
| sudo yum install gcc perl-ExtUtils-MakeMaker | |
| # Uninstall old Git RPM | |
| sudo yum remove git | |
| %compile command | |
| %pandoc -N --template=mytemplate.tex --variable mainfont=Georgia --variable sansfont=Arial \ | |
| % --variable fontsize=12pt --variable version=1.10 --variable monofont=Sans | |
| %readme.md --latex-engine=xelatex --toc -o example14.pdf | |
| \documentclass[$if(fontsize)$$fontsize$,$endif$,UTF8]{$documentclass$} | |
| \usepackage{fixltx2e} % provides \textsubscript | |
| \usepackage{xltxtra,xunicode} | |
| \usepackage{graphics} | |
| \usepackage{geometry} | |
| \geometry{centering,paperwidth=180mm,paperheight=230mm,% |
| // phantomjs code to log in to Amazon | |
| // based on the code from this Stackoverflow answer: http://stackoverflow.com/questions/9246438/how-to-submit-a-form-using-phantomjs | |
| // I'm injecting jQuery so this assumes you have jquery in your project directory | |
| var page = new WebPage(), testindex = 0, loadInProgress = false; | |
| page.onConsoleMessage = function(msg) { | |
| console.log(msg); | |
| }; |
| # | |
| # UPDATE for 10.10.4+: please consider this patch obsolete, as apple provides a tool called "trimforce" to enable trim support for 3rd party SSDs | |
| # just run "sudo trimforce enable" to activate the trim support from now on! | |
| # | |
| # Original version by Grant Parnell is offline (http://digitaldj.net/2011/07/21/trim-enabler-for-lion/) | |
| # Update July 2014: no longer offline, see https://digitaldj.net/blog/2011/11/17/trim-enabler-for-os-x-lion-mountain-lion-mavericks/ | |
| # | |
| # Looks for "Apple" string in HD kext, changes it to a wildcard match for anything | |
| # | |
| # Alternative to http://www.groths.org/trim-enabler-3-0-released/ |
| #!/usr/bin/env python | |
| # Copyright (c) 2010 Erik Karulf (erik@karulf.com) | |
| # | |
| # Permission to use, copy, modify, and/or distribute this software for any | |
| # purpose with or without fee is hereby granted, provided that the above | |
| # copyright notice and this permission notice appear in all copies. | |
| # | |
| # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |
| # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | |
| # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |