Have a few scripts that I’ve been bringing into projects for awhile (and altering for each so ymmv on the state, but you’ll get the general idea). https://github.com/krypted/tinyconverters As the names and file extensions imply, these simply take ascii as an input and output as binary or hex, or take the binary or hex and output as ascii.
-
-
12+ Machine Learning Libraries For Java Projects
It seems like a lot of people are using micro services that are hosted by a third party vendor to process various bits of natural language processing and other tasks that typically get lumped into the “Machine Learning” bucket. But there are a lot of environments that need self-contained systems. Especially when it’s simple to build a small project to do a task using something like Python’s nltk, but when you start hammering those microservices you build with those tools you start to feel how their ease-of-use can make them a bit more sluggish than purpose-built tooling (I guess that’s true for everything in software development). So let’s look at…
-
The History of Java: The Programming Language, Not The Island
-
Using The WordPress API
WordPress has an app. That means there’s an API to normalize communication using a predictable programmatic interface. In this case, as with many others, that’s done using a standard REST interface to communicate. The easiest way to interact with any API is to just read some stuff from the server via curl. You can feed curl the URL to the API by using your URL followed by /wp-json – as follows, assuming a URL of https://www.krypted.com: curl https://krypted.com//wp-json To view header information: curl -s -D - https://krypted.com/ -o /dev/null In the below example we’ll ask for a list of posts by adding /wp/v2/posts to the URL: curl https://krypted.com//wp-json/wp/v2/posts You’ll see…
-
Install the Command Line Tools For Apple Configurator 2
A great new feature of Apple Configurator 2 is the command line interface for Apple Configurator: cfgutil. Go ahead and click on the Apple Configurator 2 menu and select Install Automation Tools from the menu. When prompted, Once installed, you’ll find cfgutil at /usr/local/bin/cfgutil.
-
Hello angularjs
When I was just getting started with AngularJS, I found jsfiddle.net, a site that allows you to enter some code and run it straight from a browser. So, what do you do first: Hello World of course. This one with a little input twist… <!DOCTYPE html> <html ng-app> <head> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"></script> </head> <body> Enter Your Name: <input type="text" ng-model="name" /> <h1>Hello {{ name }}</h1> </body> </html>
-
Unix Signals
When you run a kill command to stop a process from bash or the javax.realtime.POSIXSignalHandler class, you’re sending what’s known as a POSIX signal to the process. These signals can be called via their numeric representations or the signal (e.g. with the -s option of the kill command). Signals include the following: 1: SIGHUP – Close the controlling terminal when the controlling process dies 2: SIGINT – Send a keyboard interrupt 3: SIGQUIT – Quit from a keyboard/terminal 4: SIGILL – Terminate illegal instruction with a core dump and don’t restart 5: SIGTRAP – Send a trace/break trap (with core dump) 6: SIGABRT – Process an abort signal 7: SIGEMT…
-
When you accidentally paste a block of code in the wrong place…
When you accidentally paste a code block in the wrong place…
-
Mac DevOps Conference
There’s another new conference in town! Well, not my town, but Vancouver. MacDev Ops is a hot topic. One that will only increase in the coming years. Thanks to Mat X and Brian Warsing for bringing about a brilliant conference. The conference will be held on June 19, 2015 and is an easy $99 if you sign up soon. Also, submit a talk if DevOps is your thing. They’re looking to bring the following topics to the table: Puppet, Chef and other automation from Desktop to Cloud and back Software deployment with Munki and AutoPkg: the app ecosystem surrounding it Cool tools: demo of awesome Mac Admin projects from GitHub DevOps: How…
-
Happy Holidays
Merry Christmas and to all a good night! <html> <head> <title>Merry Christmas</title> <script type="text/javascript"> function MerryChristmas() { alert ("Merry Christmas!"); } </script> </head> <body> <a href="javascript:MerryChristmas()">MerryChristmas</a> </body> </html>