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
From ubuntu:18.04 | |
ENV DEBIAN_FRONTEND=noninteractive | |
RUN apt-get -y update | |
RUN apt-get -y install build-essential automake autoconf-archive git libtool | |
RUN apt-get -y install libgtkmm-3.0-dev libmigemo1 libasound2-data libltdl-dev libasound2-dev libgnutls28-dev | |
## gcc-6 g++-6 | |
RUN apt-get install gcc-6 g++-6 -y |
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
pkgname=jd-gtk3 | |
pkgver=r2365.21c84419 | |
pkgrel=1 | |
pkgdesc="A 2channel browser written in C++ using gtkmm (patched)" | |
arch=('i686' 'x86_64') | |
url="https://github.com/ma8ma/JD/tree/gtk3-idea" | |
license=('GPL2') | |
makedepends=('git') | |
depends=('gnutls' 'libsm' 'gtkmm3' 'autoconf-archive') | |
conflicts=('jd' 'jd-svn' 'jd-costom') |
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
# Maintainer: Jonathan Steel <jsteel at archlinux.org> | |
# Contributor: Benjamin Klettbach <[email protected]> | |
pkgname=obs-studio | |
pkgver=20.0.1 | |
pkgrel=2 | |
pkgdesc="Free, open source software for live streaming and recording" | |
arch=('i686' 'x86_64') | |
url="https://obsproject.com" | |
license=('GPL2') |
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
sudo apt update | |
sudo apt upgrade | |
sudo apt install gcc make python2.7 nodejs npm git | |
git clone git://github.com/c9/core.git c9sdk | |
cd c9sdk | |
scripts/install-sdk.sh | |
cd ~ | |
sudo mv c9sdk /opt/ | |
mkdir workspace | |
echo " /usr/bin/node /opt/c9sdk/server.js -l 127.0.0.1 -w $home/workspace" > cloud9 |
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
##バックアップは真面目に取る | |
##特にデータベースとファイルは絶対取る | |
sudo su | |
##何もでなかったらスルー。 | |
dpkg --get-selections | grep 'hold$' | |
##何もでなかったらスルー。 | |
dpkg -l | awk '/^rc/ { print $2 }' |
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
require "twitter" | |
require 'json' | |
USERNAME = "********" | |
client = Twitter::REST::Client.new do |config| | |
config.consumer_key = "********" | |
config.consumer_secret = "********" | |
config.access_token = "********" | |
config.access_token_secret = "********" |
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
require "twitter" | |
require 'json' | |
USERNAME = "********" | |
client = Twitter::REST::Client.new do |config| | |
config.consumer_key = "********" | |
config.consumer_secret = "********" | |
config.access_token = "********" | |
config.access_token_secret = "********" |
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
lib = File.expand_path('../lib', __FILE__) | |
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | |
require 'tw/version' | |
Gem::Specification.new do |gem| | |
gem.name = "tw" | |
gem.version = Tw::VERSION | |
gem.authors = ["Sho Hashimoto"] | |
gem.email = ["[email protected]"] | |
gem.description = %q{CUI Twitter Client.} |
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 Tw | |
class Client::Stream | |
def initialize(user=nil) | |
user = Tw::Auth.get_or_regist_user user | |
@client = Twitter::Streaming::Client.new do |config| | |
config.consumer_key = Conf['consumer_key'] | |
config.consumer_secret = Conf['consumer_secret'] | |
config.access_token = user['access_token'] | |
config.access_token_secret = user['access_secret'] |
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
NEWHOSTNAME=$1 | |
ROOTPASSWD=$2 | |
# Keymap | |
loadkeys jp106 | |
# Setup HDD | |
sudo parted /dev/mmcblk1 mklabel gpt | |
parted /dev/mmcblk1 mkpart ESP fat32 1MiB 551MiB | |
parted /dev/mmcblk1 mkpart primary ext4 551MiB 100% |
NewerOlder