- Header Kernel - GCC
sudo apt-get install linux-headers
- Pacotes essenciais
| Ok |
This is a quick set-up guide on how to install Icecast for Mp3 and Ogg streaming, sort of online radio. Tested on Debian Wheezy. Probably works on Ubuntu, etc. Icecast is a "server-like". It offers the HTTP URL/port through which end-users can play the media. However, Icecast itself does not serve the files. It must get its input from other "client-like" software. For example, Ices0 sends mp3 input to Icecast and then Icecast delivers to the end user. Similarly, Ices2 sends ogg input to Icecast and then Icecast delivers to the end user.
Start by installing:
sudo apt-get install icecast2
Auto mount NTFS
list [List disk by uuid: "ls -l /dev/disk/by-uuid"]edit [Add to fstab: "/dev/disk/by-uuid/{UUID} /mnt/{name} auto nosuid,nodev,nofail,x-gvfs-show 0 0"]execute [Execute command: "sudo mount -a"]Fix NTFS mount problem
list [List disk by label: "ls -l /dev/disk/by-label"]execute [Execute command: "sudo ntfsfix /dev/sdXY"]| SPC | |
| SPC: find file | |
| , switch buffer | |
| . browse files | |
| : MX | |
| ; EX | |
| < switch buffer | |
| ` eval | |
| u universal arg | |
| x pop up scratch |
download [WSLGit at https://github.com/andy-5/wslgit/releases]rename [wslgit.exe or wslgit-mount-at-root.exe to git.exe]edit [edit window environment variables to add C:\CHANGE\TO\PATH\TO\git.exe to Path]edit [edit window environment variables to add WSLGIT_USE_INTERACTIVE_SHELL with value false or 0]edit [edit VSCode settings.json to add/edit "git.path": "C:\CHANGE\TO\PATH\TO\git.exe"]| require 'rails_event_store' | |
| require 'aggregate_root' | |
| PaymentAuthorized = Class.new(RailsEventStore::Event) | |
| PaymentSuccessed = Class.new(RailsEventStore::Event) | |
| PaymentFailed = Class.new(RailsEventStore::Event) | |
| PaymentCaptured = Class.new(RailsEventStore::Event) | |
| class Payment | |
| InvalidOperation = Class.new(StandardError) |
| const { parse, visit, print, Kind, BREAK } = require('graphql/language'); | |
| const { buildASTSchema } = require('graphql/utilities'); | |
| const { addResolveFunctionsToSchema } = require('graphql-tools'); | |
| const Sequelize = require('sequelize'); | |
| const { graphql } = require('graphql'); | |
| const jexl = require('jexl'); | |
| const deepAssign = require('deep-assign'); | |
| const { resolver: sequelizeResolver } = require('graphql-sequelize'); | |
| const { inspect } = require('util'); |