sudo pacman -Sy gnupg archlinux-keyring manjaro-keyring
sudo gpg --recv-keys 247B52CC 11C7F07E 59152F77 5C0102A6 604F8BA2 AC97B894 5DCB998E B35859F8 663CA268 8DF53602 A42D53A2
sudo pacman-key --lsign-key 59152F77
sed -i -E "s/\->/\-\->/g" Mafiosa.S01E05.Episode.#1.5.en.srt | |
sed -i -E "s/(0-9)?\.[0-9]/,\1/g" Mafiosa.S01E05.Episode.#1.5.en.srt | |
sed -i -E "s/: /:/g" Mafiosa.S01E05.Episode.#1.5.en.srt |
sudo pacman -Sy gnupg archlinux-keyring manjaro-keyring
sudo gpg --recv-keys 247B52CC 11C7F07E 59152F77 5C0102A6 604F8BA2 AC97B894 5DCB998E B35859F8 663CA268 8DF53602 A42D53A2
sudo pacman-key --lsign-key 59152F77
(-2..2).each do |k| | |
k.abs.times do | |
print " " | |
end | |
(3-(k.abs)).times do | |
print "* " | |
end | |
puts "\n" | |
end |
c=0 | |
(1..4).each do |n| | |
d=c | |
c=n-1 | |
e=n+d | |
n.times do | |
print e | |
e=e+1 | |
end | |
print "\n" |
#!/usr/bin/env ruby | |
lines = IO.readlines("phonebook.txt").map do |line| | |
lm = line.gsub(/-|\s/,'').match(/([a-zA-Z]+)(\d+)/) | |
"#{lm[1]},#{lm[2]}" unless lm.nil? | |
end | |
File.open("Gulties.csv","w") do |file| | |
file.puts lines | |
end |
#!/bin/bash | |
# Script License: GPL | |
# Dependensies: ffmpeg (You need ffmped installed in your system) | |
# Usage: "Takes single/multiple file paths as input and converts them to mp3" | |
# Example: "./convert_vid.sh Downloads/Amsterdam\ Imagine\ Dragons.flv Downloads/BrownRang.mp4" converts 'Downloads/Amsterdam Imagine Dragons.flv' and 'Downloads/BrownRang.mp4' to 'Downloads/Amsterdam Imagine Dragons.flv.mp3' and 'Downloads/BrownRang.mp4.mp3' | |
if [ $# -gt 0 ]; then | |
while test $# -gt 0 | |
do |
#! /bin/env ruby | |
def isbn(inp) | |
switch=true | |
sum=0 | |
inp.to_s.split('').each do |i| | |
if switch | |
sum=sum+i.to_i | |
switch=false | |
else | |
sum=sum+(i.to_i)*3 |
class Captcha | |
def initialize | |
@numbers=[1,2,3,4,5,6,7,8,9] | |
@numbers_alpha={ | |
1 => "one", | |
2 => "two", | |
3 => "three", | |
4 => "four", | |
5 => "five", | |
6 => "six", |
#This Script is released under Gnu GPL | |
require 'socket' | |
require 'timeout' | |
class Hubscan | |
def initialize | |
@init_ip=192 | |
@end_ip=216 | |
@verbose=false |
class Captcha | |
def initialize | |
@numbers=[1,2,3,4,5,6,7,8,9] | |
@numbers_alpha={ | |
1 => "one", | |
2 => "two", | |
3 => "three", | |
4 => "four", | |
5 => "five", | |
6 => "six", |