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
import random | |
import math | |
import copy | |
import numpy as np | |
def shuffle_songs(songs): | |
"""Return a list of shuffled songs.""" | |
num_songs = len(songs) |
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
# Auto-suggestion | |
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh | |
# Aliases | |
alias ..="cd .." | |
alias ...="cd ../.." | |
alias ....="cd ../../.." | |
alias .....="cd ../../../.." | |
alias py="python3.10" | |
alias ptpy="python3.10 -m ptpython" |
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
title | artist | ytdlp_title | ytdlp_artist | ytmdl_title | ytmdl_artist | |
---|---|---|---|---|---|---|
How Ya Doin'? (feat. Missy Elliott) | Little Mix | How Ya Doin'? (feat. Missy Elliott) | Little Mix | |||
Crazy Kids (feat. will.i.am) | Kesha | Crazy Kids (feat. will.i.am) | Kesha | Crazy Kids (Originally Performed by Ke$Ha Feat. Will.I.Am) [Karaoke Version] | Singer's Edge Karaoke | |
Ooh La La (from "The Smurfs 2") | Britney Spears | Ooh La La (From "The Smurfs 2") | Britney Spears | Fu-Gee-La | Fugees | |
People Like Us | Kelly Clarkson | People Like Us | Kelly Clarkson | People Like Us | Micah Tyler | |
Overdose | Ciara | Overdose | Ciara | Overdose | Finesse2tymes | |
Right Now - Dyro Radio Edit | Rihanna | Right Now (feat. David Guetta) | Rihanna | Right Now - Dyro Radio Edit | Rihanna | |
Give It 2 U | Robin Thicke | Give It 2 U (feat. Kendrick Lamar & 2 Chainz) | Robin Thicke | Give It 2 U (feat. Kendrick Lamar & 2 Chainz) | Robin Thicke | |
Foolish Games | Jewel | Foolish Games | Jewel | Foolish Games | Jewel | |
Outta Nowhere (feat. Danny Mercer) | Pitbull | Outta Nowhere (feat. Danny Mercer) | Pitbull |
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
" Vim syntax file for Fio (Flexible I/O Tester) | |
" Language: Fio | |
" Maintainer: Parth Parikh <[email protected]> | |
" Last Change: 2023-04-01 | |
" This code is licensed under Vim License: | |
" https://github.com/vim/vim/blob/master/LICENSE | |
" Fio files are a type of classic INI files | |
" This is a slight modification of: |
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
# initialize the grid with random alphabets | |
import random | |
from itertools import permutations | |
from collections import Counter | |
import pickle | |
import enchant | |
# define the grid size | |
GRID_SIZE = 8 |
This file has been truncated, but you can view the full file.
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
[ | |
"rooms and buildings", | |
"Lautonom", | |
"m3nosu", | |
"okrutna realnost", | |
"painful", | |
"fahrradfahren bei nacht", | |
"music to fall asleep to", | |
"3 am", | |
"Same name not same song tag", |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 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
,text | |
0,"1595 | |
THE TRAGEDY OF ROMEO AND JULIET | |
by William Shakespeare | |
Dramatis Personae |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 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
,text | |
0,"Alice’s Adventures in Wonderland | |
by Lewis Carroll | |
THE MILLENNIUM FULCRUM EDITION 3.0 | |
Contents | |
CHAPTER I. Down the Rabbit-Hole |
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
.model small | |
.data | |
res1 db 10,13,"Enter the bcd value: $" | |
iresult db 10,13,"Hex value is: $" | |
result db 10,13,"Ascii value is: $" | |
.code | |
mov ax,@data | |
mov ds,ax | |
lea dx,res1 |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define MAX 100 | |
int main(void) { | |
char data[MAX], output_data[MAX+MAX]; | |
printf("Enter the data: "); | |
scanf("%s", data); |
NewerOlder