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
#!/bin/bash | |
#FROM=ISO-8859-9 | |
#TO=UTF-8 | |
FROM=$1 | |
TO=$2 | |
ICONV="iconv -f $FROM -t $TO" | |
PATTERN="\.\/[a-zA-Z0-9\.\-\_\ ]*\.srt" | |
OUTPUT_DIR="./hmenn_OUTPUT/" |
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
[Desktop Entry] | |
Encoding=UTF-8 | |
Version=2.2.3 | |
Type=Application | |
Terminal=false | |
Exec="/opt/android-studio/bin/studio.sh" | |
Name=Android Studio | |
Comment=Android Studio | |
Categories=Programming; | |
Icon=/opt/android-studio/bin/studio.png |
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
—– BEGIN LICENSE —– | |
Michael Barnes | |
Single User License | |
EA7E-821385 | |
8A353C41 872A0D5C DF9B2950 AFF6F667 | |
C458EA6D 8EA3C286 98D1D650 131A97AB | |
AA919AEC EF20E143 B361B1E7 4C8B7F04 | |
B085E65E 2F5F5360 8489D422 FB8FC1AA | |
93F6323C FD7F7544 3F39C318 D95E6480 | |
FCCC7561 8A4A1741 68FA4223 ADCEDE07 |
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
/* | |
* File: main.cpp | |
* Author: hmenn | |
* | |
* Created on 12.1.2017 | |
*/ | |
#include <cstdlib> | |
#include <iostream> | |
#include <vector> |
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
%append L1 to L2 appendList(L1,L2,Res) | |
appendList([],L2,L2). | |
appendList([H|T],L2,[H|L3]):- appendList(T,L2,L3). |
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 mux_4x1(output out,input c0,input c1,input c2,input c3,input s1,input s0); | |
wire s0n,s1n; //s0 not, s1 not | |
wire w1,w2,w3,w4; | |
not n1(s0n,s0); | |
not n1(s1n,s1); | |
and and1(w1,c0,s1n,s0n); | |
and and2(w2,c1,s1n,s0); |
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
#!usr/bin/python | |
def printArrayToConsole(arr,startX,startY,endX,endY): | |
#print(startX,startY,endX,endY) | |
for i in range(startX,startX+endX): | |
for j in range(startY,startY+endY): | |
print(arr[i][j],end="") | |
print("") | |
print() |
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
#!usr/bin/env | |
## HASAN MEN - Algorithm HW4 - Q1 | |
import math # math.floor and math.ceil | |
def calcExpo(expo,x): | |
"Calculates exponential values like x^2 , x^5" | |
#print("expo:",expo," floor" ,math.floor(expo/2),"ceil" ,math.ceil(expo/2)) | |
if expo==1: | |
return x |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
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 <stdlib.h> | |
#include <stdio.h> | |
int findEqualIndex(int arr[],int start,int end); | |
int main(){ | |
int arr[6]={-10,-5,-1,0,4,5}; | |
int arr2[5]={0,2,5,8,7}; | |
int res = findEqualIndex(arr,0,5); |