- Create a new
InfoPlist.stringsfile - Add the following line to that file:
UILaunchStoryboardName = "LaunchScreen";
| // ==UserScript== | |
| // @name TowardsDataScience/hbr/medium auto open in incognito | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author Raimon Grau | |
| // @match https://towardsdatascience.com/* | |
| // @match https://hbr.org/* | |
| // @match https://medium.com/* | |
| // @match https://*.medium.com/* |
| #!/bin/bash | |
| rev="12" | |
| _log(){ | |
| echo "$(date '+%Y-%m-%d %H:%M:%S') - ${streamid} - $1" >> /tmp/ffmpeg.log | |
| } | |
| _log_para(){ | |
| echo "$1" | fold -w 120 | sed "s/^.*$/$(date '+%Y-%m-%d %H:%M:%S') - ${streamid} - = &/" >> /tmp/ffmpeg.log |
| // The SwiftUI Lab | |
| // Website: https://swiftui-lab.com | |
| // Article: https://swiftui-lab.com/alignment-guides | |
| import SwiftUI | |
| class Model: ObservableObject { | |
| @Published var minimumContainer = true | |
| @Published var extendedTouchBar = false | |
| @Published var twoPhases = true |
Enabling Clipboard: VirtualBox Manager -> Settings -> General -> Advanced -> Shared Clipboard /Drag’n’Drop: bidirectional
Installing Guests Additions:
Enabling optical drive: VirtualBox Manager -> Settings -> Storage -> Controller Sata -> Adds optical Drive -> Leave Empty
Copy Guest Additions to the available folder on Mac: Finder -> Applications -> VirtualBox right click, Show Package Content -> Contents -> MacOS: copy VBoxGuestAdditions.iso somewhere to the folder
| // | |
| // Created by Sami Samhuri on 2017-07-28. | |
| // Copyright © 2017 1 Second Everyday. All rights reserved. | |
| // Released under the terms of the MIT license. | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy of this | |
| // software and associated documentation files (the "Software"), to deal in the Software | |
| // without restriction, including without limitation the rights to use, copy, modify, | |
| // merge, publish, distribute, sublicense, and/or sell copies of the Software, and to | |
| // permit persons to whom the Software is furnished to do so, subject to the following |
| /* VT100 terminal reset (<ESC>c) */ | |
| console.log('\033c'); | |
| /* numbers comparations */ | |
| > '2' == 2 | |
| true | |
| > '2' === 2 |
Instructions for setting up a git server on a Synology NAS with Diskstation. Specifically, I am using a DS414 with DSM 5.0.
gituser via Diskstation interface (with File Station and WebDAV privilages)git (located at /volume1/git) with read/write access for gituser and admin. This folder will hold all the repos.| // Taken from the commercial iOS PDF framework http://pspdfkit.com. | |
| // Copyright (c) 2014 Peter Steinberger, PSPDFKit GmbH. All rights reserved. | |
| // Licensed under MIT (http://opensource.org/licenses/MIT) | |
| // | |
| // You should only use this in debug builds. It doesn't use private API, but I wouldn't ship it. | |
| // PLEASE DUPE rdar://27192338 (https://openradar.appspot.com/27192338) if you would like to see this in UIKit. | |
| #import <objc/runtime.h> | |
| #import <objc/message.h> |