A Pen by Akhil a.k.a Enforcer007 on CodePen.
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
| use image::{Rgb, RgbImage}; | |
| use minimp4::Mp4Muxer; | |
| use openh264::{ | |
| encoder::Encoder, | |
| formats::{RgbSliceU8, YUVBuffer}, | |
| }; | |
| use std::io::{Cursor, Read, Seek, SeekFrom}; | |
| use std::time::Duration; | |
| const WIDTH: u32 = 512; |
A Pen by Akhil a.k.a Enforcer007 on CodePen.
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 8.
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
| Name,Type,Total,HP,Attack,Defense,Sp. Atk,Sp. Def,Speed,url,icon | |
| Bulbasaur,"['Grass', 'Poison']",318,45,49,49,65,65,45,https://pokemondb.net/pokedex/bulbasaur,https://img.pokemondb.net/sprites/sword-shield/icon/bulbasaur.png | |
| Ivysaur,"['Grass', 'Poison']",405,60,62,63,80,80,60,https://pokemondb.net/pokedex/ivysaur,https://img.pokemondb.net/sprites/sword-shield/icon/ivysaur.png | |
| Venusaur,"['Grass', 'Poison']",525,80,82,83,100,100,80,https://pokemondb.net/pokedex/venusaur,https://img.pokemondb.net/sprites/sword-shield/icon/venusaur.png | |
| Charmander,"['Fire', '']",309,39,52,43,60,50,65,https://pokemondb.net/pokedex/charmander,https://img.pokemondb.net/sprites/sword-shield/icon/charmander.png | |
| Charmeleon,"['Fire', '']",405,58,64,58,80,65,80,https://pokemondb.net/pokedex/charmeleon,https://img.pokemondb.net/sprites/sword-shield/icon/charmeleon.png | |
| Charizard,"['Fire', 'Flying']",534,78,84,78,109,85,100,https://pokemondb.net/pokedex/charizard,https://img.pokemondb.net/sprites/sword-shield/icon/charizard.png | |
| Squirtle,"['W |
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 1 column, instead of 3 in line 1.
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
| title speaker lines | |
| Alexander Hamilton BURR How does a bastard, orphan, son of a whore and a | |
| Alexander Hamilton BURR Scotsman, dropped in the middle of a forgotten | |
| Alexander Hamilton BURR Spot in the Caribbean by providence, impoveris... | |
| Alexander Hamilton BURR Grow up to be a hero and a scholar? | |
| Alexander Hamilton LAURENS The ten-dollar Founding Father without a father |
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
| apt-get update | |
| echo "deb http://ppa.launchpad.net/ubuntugis/ppa/ubuntu xenial main" > /etc/apt/sources.list | |
| echo "deb-src http://ppa.launchpad.net/ubuntugis/ppa/ubuntu xenial main" > /etc/apt/sources.list | |
| apt-get update | |
| apt-get install gdal-bin python-gdal python3-gdal | |
| git clone https://github.com/kscottz/PythonFromSpace.git | |
| pip install -r requirements.txt |
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
| import os | |
| i=list(os.walk('.')) | |
| k=i[0][2][1:] | |
| k='\n'.join(k) | |
| with open('files.txt','w') as file1: | |
| file1.write(k) | |
| print('done writing') |
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/bash | |
| # Update the Repositories | |
| sudo apt-get update | |
| # Remove any old / unwanted / exisitng doncker installation | |
| sudo apt-get -y remove docker docker-engine docker.io | |
| # Remove any old Containers / Images | |
| # sudo rm -rf /var/lib/docker |
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
| # File should contain URLs seprated by new lines | |
| # Execute the Script by running './download.sh <File_Path>' | |
| # If unable to run give executable permissions by running 'chmod +x download.sh' | |
| while read p; do | |
| wget -L -P $2 $p | |
| done <$1 |
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
| class less: | |
| "Print all the Numbers that are less than five" | |
| def __init__(self,list,k=5): | |
| self.l=list | |
| self.k=k | |
| def output(self): | |
| print [i for i in self.l if i<self.k] | |
| list=raw_input("List out Integers with single spacing") |