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
#!/usr/bin/env bash | |
# Special thanks to: | |
# https://github.com/Leoyzen/KVM-Opencore | |
# https://github.com/thenickdude/KVM-Opencore/ | |
# https://github.com/qemu/qemu/blob/master/docs/usb2.txt | |
# | |
# qemu-img create -f qcow2 mac_hdd_ng.img 128G | |
# | |
# echo 1 > /sys/module/kvm/parameters/ignore_msrs (this is required) |
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
# Maintainer: Jose Riha <jose1711 gmail com> | |
pkgname=esp-idf-git | |
_pkgname=esp-idf | |
pkgver=r12430.6330b3345 | |
pkgrel=1 | |
pkgdesc="ESP specific API/libraries from Espressif" | |
arch=('i686' 'x86_64') | |
url="https://github.com/espressif/esp-idf" | |
license=('Apache') |
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
# Configuration file for nvidia-settings - the NVIDIA X Server Settings utility | |
# Generated on Sun Mar 19 23:29:24 2017 | |
# | |
# ConfigProperties: | |
RcFileLocale = C | |
DisplayStatusBar = Yes | |
SliderTextEntries = Yes | |
IncludeDisplayNameInConfigFile = Yes |
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
# Install dnscrypt-proxy and create a user $(dnscrypt_user) for dnscrypt-proxy $(useradd -r -d /var/dnscrypt -m -s /sbin/nologin dnscrypt) | |
# Put .service and .socket file to /etc/systemd/system | |
# Enable service file and Start service | |
# Multiple .sockets can be created on the same port with different IPs | |
[Unit] | |
Description=DNSCrypt client proxy | |
Documentation=man:dnscrypt-proxy(8) | |
Requires=dnscrypt-proxy@%I.socket | |
After=network.target |
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
::---------------------USAGE ----------- | |
::Create a shortcut for steam.exe and add "-login username password" parameters to target w/o quotes | |
::Replace Shortcut Where You Want | |
::Edit Directory and name of the shorcut in :start_steam section for yourself | |
@echo off | |
tasklist /FI "IMAGENAME eq steam.exe" 2>NUL | find /I /N "steam.exe">NUL | |
if %ERRORLEVEL%==0 goto :kill | |
if %ERRORLEVEL%==1 goto :start_steam |
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
###################################### | |
# Save into a directory (eg. ~) # | |
# Add a new alias to shell_rc # | |
# And run it from console # | |
# OR # | |
# Make It Nautilus Script # | |
###################################### | |
#!/bin/bash | |
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 "own_window_type panel" for transparent background # | |
# # | |
# "own_window_type override" doesn't work with transparent background # | |
# Conky always have a black background. # | |
# # | |
# "own_window_type panel" work as panel when you start, it have egdes etc. But # | |
# if you change conkyrc, conky loses "panel" condition and start working like # | |
# "own_window_override" minimizing windows doesn't affect Conky's window. # | |
# It always stays on Desktop as transparent # |
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 | |
########################################################################### | |
# Nautilus script for Wallch | |
# This script changes desktop wallpaper via command "wallch --next" | |
# | |
# Usage: | |
# Move the script under /home/$USER/.local/share/nautilus/scripts/ | |
# Set executable permission for script. chmod +x scriptname | |
# | |
# This Program Licensed and Distributed under the terms of GPLv3 |
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
#include <stdio.h> | |
unsigned long faktoriyel(int); //prototip tanımı | |
int main () | |
{ | |
long deg1; | |
deg1=faktoriyel(14); | |
printf ("14!=%ld\n",deg1); | |
return 0; | |
} |
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
#include <stdio.h> | |
int main(){ | |
int matA[4][4]={{0,1,2,3},{4,5,6,7},{8,9,10,11},{12,13,14,15}}; | |
int matB[4][4]={{0,1,2,3},{4,5,6,7},{8,9,10,11},{12,13,14,15}}; | |
int matC[4][4]; | |
int i,j,k; | |
for (i=0;i<4;i++){ | |
for(j=0;j<4;j++){ | |
matC[i][j] = 0; | |
for(k=0;k<4;k++){ |
NewerOlder