Here are a few solutions for capturing your desktop and recording a video of your screen with ffmpeg. (A Chinese version of this page is [[Capture/Desktop中文版本|also available]].)
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/env ruby | |
| # encoding: utf-8 | |
| # Autor: Dalboz | |
| chiquitoArray = ["ayayayai", "manco", "deskiciado", "forastero", "fistro","torpedo","pecador","sexuarl","por la gloria de mi madre","diodeno","condemor","jarl","ese que llega","pupita","la caidita","te voy a borrar el cerito","al ataquerl","a wan","a peich","a gramenawer","no puedor","hasta luego Lucas","mamaar","apetecan","caballo blanco caballo negroorl","ese pedazo de","benemeritaar","te va a hasé pupitaa","de la pradera", "ese hombree", "quietooor", "qué dise usteer", "no te digo trigo por no llamarte Rodrigor", "está la cosa muy malar", "tiene musho peligro","ahorarr","diodenoo","amatomaa","me cago en tus muelas","llevame al sircoo", "papaar papaar", "se calle ustée", "va usté muy cargadoo"] | |
| def generalinea(chiquitoArray) | |
| nPalabras = rand(12)+4 | |
| linea = "" | |
| for num in 1...nPalabras |
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
| # Try using arp, selecting the bridge that OSX created for internet sharing | |
| arp -i bridge100 -a |
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
| <script id="f5_cspm"> | |
| (function() { | |
| var f5_cspm = { | |
| f5_p: 'CFABBCFADAIABAAEKNAAAABAACAAAAAAEABAANAAIICJAAAADAAAAMAAANGFAAAA', | |
| setCharAt: function(str, index, chr) { | |
| if (index > str.length - 1) | |
| return str; | |
| return str.substr(0, index) + chr + str.substr(index + 1); | |
| }, | |
| get_byte: function(str, i) { |
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 Richard D. James site on warp 22-07-2017 | |
| buy=["Cherish","Possess","Own","Casket","Bag","Acquire","Nab","Have it!","Need this","I must have this","If we can swear then I must fucking have this","Transfer HQ to my drive",".wav > HD","I need more than 128kbps","I need the fucking .wav","I need the .wav","I have to have this","Give money to afx","No guilty conscience","Low bit rate is not so good for your ears","Part with money","Partly transfer my wealth"],random_buy |
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
| # CPI-All Urban Consumers (Current Series) CUUR0000SA0 | |
| curl -i -X POST -H 'Content-Type: application/json' -d '{"seriesid":["CUUR0000SA0"],"startyear":"2017", "endyear":"2019"}' https://api.bls.gov/publicAPI/v2/timeseries/data/ |
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
| xcode-select --install | |
| ruby -e "$(curl -fsSL https://raw.githubusercontent.com/homebrew/install/master/install)" # if you dont't have brew installed | |
| brew install cmake boost postgres grpc autoconf automake libtool golang libpqxx rapidjson | |
| # check boost linking | |
| git clone https://github.com/hyperledger/iroha -b develop | |
| cd iroha | |
| cmake -H. -Bbuild -DBoost_DEBUG=ON # watch for config errors ! | |
| cmake --build build -- -j2 #Check number of logical cores with sysctl -n hw.ncpu and use this number |
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
| 04686f5e1d81c1d0e3742692c9251f77f10b498d3423d14d366528b51d9517a61f216dcb15e460645218759cd1260e34adaa34263c5f40cf6675dfe53a4e71e99d;neewy |
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/sh | |
| # Grep file extensions over directories, store the results into a variable, then copy those files to new destination | |
| result=$(find iPod_Control/Music/ | grep --null ".mov\|.mp4") | |
| #echo $result | |
| cp $result /Users/dalboz/Desktop/rs |
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
| #!perl | |
| # Rot13 encoder / decoder | |
| while (<STDIN>) | |
| { | |
| $_ =~ tr/N-ZA-Mn-za-m/A-Za-z/; | |
| print $_; | |
| } |