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 | |
set -eu | |
foo() { | |
false | |
echo Expected to not reach here | |
} | |
fooer=foo |
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
başla get klavyeden bir sayı al | |
ifzero duyur eğer sayı sıfır ise "göster"e git | |
add toplam aküdeki yeni sayıyı mevcut toplama ekle | |
store toplam sonucu yin toplam hücresine kaydet | |
goto başla yeni sayıyı almak için "başla"ya git | |
duyur load toplam toplamı aküye yükle | |
print sonucu duyur | |
stop işlem tamam | |
toplam 0 "toplam" hücresinin ilk değeri 0 (program başlamadan önce) |
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
int a[] = { | |
56, | |
32, | |
7, | |
-4, | |
0, | |
103, | |
21, | |
-75 |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
#square { | |
width: 10cm; | |
height: 10cm; | |
border: solid 1px; | |
margin: 0cm; | |
padding: 0cm; |
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
# Start the old vagrant | |
$ vagrant init centos-6.3 | |
$ vagrant up | |
# You should see a message like: | |
# [default] The guest additions on this VM do not match the install version of | |
# VirtualBox! This may cause things such as forwarded ports, shared | |
# folders, and more to not work properly. If any of those things fail on | |
# this machine, please update the guest additions and repackage the | |
# box. |
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 bash | |
# Process spool of scanned images | |
# Copyright (c) 2020, Recai Oktaş | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# |
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 bash | |
# Copyright (c) 2020, Recai Oktaş | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# | |
# * Redistributions of source code must retain the above copyright notice, this | |
# list of conditions and the following disclaimer. |
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 bash | |
set -Eeuo pipefail; shopt -s nullglob; [[ -z ${TRACE:-} ]] || set -x; unset CDPATH; IFS=$' \t\n' | |
cd "$(dirname "$(readlink -f "$0")")"/../.. || exit | |
# shellcheck disable=2034 | |
declare -gr PROGNAME=${0##*/} # Program name | |
cry() { |
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
dpkg-divert --add --rename --divert /usr/share/X11/xkb/symbols/pc.orig /usr/share/X11/xkb/symbols/pc | |
patch <<-EOF | |
--- pc.orig 2020-07-09 15:13:44.428924012 +0300 | |
+++ pc 2020-07-09 15:50:21.658899698 +0300 | |
@@ -19,7 +19,7 @@ | |
key <TAB> { [ Tab, ISO_Left_Tab ] }; | |
key <RTRN> { [ Return ] }; | |
- key <CAPS> { [ Caps_Lock ] }; | |
+ key <CAPS> { [ backslash ] }; |
NewerOlder