Skip to content

Instantly share code, notes, and snippets.

View nick-kadutskyi's full-sized avatar

Nick Kadutskyi nick-kadutskyi

View GitHub Profile
@nick-kadutskyi
nick-kadutskyi / tizen.sh
Created March 9, 2024 11:06 — forked from laat/tizen.sh
Notes on Tizen commands that might work
sdb connect <ip>:<port> # connect to TV
sdb -s <deviceName> capability # get <installationPath>
# build
tizen cli-config "default.profiles.path=<profile_path>"
tizen build-web -out .buildResult -- <source-dir>
tizen package --type wgt --sign profileName -- <source-dir>/.buildResult # extract <package-file>
mv <package-file> .
rm -rf <source-dir>/.buildResult
@nick-kadutskyi
nick-kadutskyi / VimLauncher.scpt
Created November 10, 2022 03:19 — forked from CoderPiF/VimLauncher.scpt
open file with vim in iTerm2 by double click
on run {input, parameters}
set the_path to POSIX path of input
set cmd to "vim '" & the_path & "'"
set isRunning to (application "iTerm" is running)
tell application "iTerm"
activate
if isRunning then
if (count of windows) > 0 then
set sess to (current session of (create tab with default profile of current window))
else
@nick-kadutskyi
nick-kadutskyi / _verify-repair-permissions-disk.md
Created May 22, 2022 07:50 — forked from bzerangue/_verify-repair-permissions-disk.md
Mac OS X Utilities via Terminal: (Verify and Repair: Disk Permissions AND Disk / Software Update / TimeMachine)

Verify and Repair Disk Permissions via Terminal (Mac OS X)

Verify Permissions

diskutil verifyPermissions /

Repair Permissions

diskutil repairPermissions /

@nick-kadutskyi
nick-kadutskyi / TP_Mac_Setup.markdown
Created February 15, 2022 19:26 — forked from nvgrw/TP_Mac_Setup.markdown
TurboPascal setup tutorial for Mac

TurboPascal on Mac

Note: probably 99% of this tutorial (excluding installation and folder structure) is DOSBox- and not Mac-specific. As long as your computer can run DOSBox you should be able to convert the steps to work on Windows.

1. Downloading & Installing DOSBox

DOS apps don't run natively on OS X, so we use DOSBox to emulate DOS for us.

1a. Downloading DOSBox

Navigate to the official DOSBox download page

@nick-kadutskyi
nick-kadutskyi / gist:ddbecbff445c05ad844ea2fd6edc97ae
Created October 15, 2016 11:12 — forked from pitch-gist/gist:2999707
HTML: Simple Maintenance Page
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>
@nick-kadutskyi
nick-kadutskyi / .gitignore
Created June 3, 2016 17:06 — forked from salcode/.gitignore
.gitignore file for WordPress - Bare Minimum Git
# -----------------------------------------------------------------
# .gitignore for WordPress
# Bare Minimum Git
# http://ironco.de/bare-minimum-git/
# ver 20150227
#
# This file is tailored for a WordPress project
# using the default directory structure
#
# This file specifies intentionally untracked files to ignore