some text some text some text some text some text
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
| int VideoClipper::Init(const wxString& filename) | |
| { | |
| int ret = 0; | |
| char errbuf[64]; | |
| av_register_all(); | |
| if ((ret = avformat_open_input( &m_informat, filename.mb_str(), 0, 0)) != 0 ) | |
| { | |
| av_strerror(ret,errbuf,sizeof(errbuf)); | |
| PRINT_VAL("Not able to Open file;; ", errbuf) |
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
| find_package(Protobuf 3.2 REQUIRED) | |
| if ( NOT (PROTOBUF_FOUND)) | |
| message(FATAL_ERROR "Please Compile and Install ProtoBuffer -version 3 using GRPC C++: CMake will Exit") | |
| endif() | |
| MESSAGE(${PROTOBUF_PROTOC_EXECUTABLE}) | |
| include_directories(${Protobuf_INCLUDE}) | |
| enable_testing() |
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
| # kubernetes - is an open source system for managing containerized | |
| # applications across multiple hosts, providing basic mechanisms for | |
| # deployment, maintenance, and scaling of applications. | |
| # See: https://kubernetes.io | |
| function __kubectl_no_command | |
| set -l cmd (commandline -poc) | |
| if not set -q cmd[2] | |
| return 0 | |
| 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
| javascript: (function() { function viewObserva(document) { let paywall = document.getElementsByClassName("mensaje_paywall"); for (let i = 0; i < paywall.length; i++) { paywall.item(i).remove(); } paywall = document.getElementsByClassName("mensaje_paywall2"); for (let i = 0; i < paywall.length; i++) { paywall.item(i).remove(); } let nota = document.getElementsByClassName("cuerpo"); for (let i = 0; i < nota.length; i++) { nota.item(i).classList.remove("fade"); } console.log("chupame la pija observador!") } viewObserva(document); })(); |
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
| # This file has been auto-generated by i3-config-wizard(1). | |
| # It will not be overwritten, so edit it as you like. | |
| # | |
| # Should you change your keyboard layout some time, delete | |
| # this file and re-run i3-config-wizard(1). | |
| # | |
| # i3 config file (v4) | |
| # | |
| # Please see http://i3wm.org/docs/userguide.html for a complete reference! |
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
| Promise.resolve(1) | |
| .then((x) => x + 1) | |
| .then((x) => { throw new Error('My Error') }) | |
| .catch(() => 1) | |
| .then((x) => x + 1) | |
| .then((x) => console.log(x)) | |
| .catch(console.error) |
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
| # testing this | |
| some text | |
| ## some other header | |
| some more text some more text some more text some more text some more text some more text some more text some more text some more text some more text some more text some more text some more text | |
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 __git_fzf_is_in_git_repo | |
| command -s -q git | |
| and git rev-parse HEAD >/dev/null 2>&1 | |
| end | |
| function __git_fzf_git_status | |
| __git_fzf_is_in_git_repo; or return | |
| git -c color.status=always status --short | \ | |
| fzf -m --ansi --preview 'git diff --color=always HEAD -- {-1} | head -500' | \ | |
| cut -c4- | \ |
$ vagrant init jhcook/macos-sierra
$ vagrant up
(I got errors while starting the virtual machine, fixed it opening Virtualbox and editing the generated virtual machine's settings. I disabled nested pagination from the System -> Acceleration menu)
After that the vm booted without problems and I was able to successfully install xcode.