From June 26, 2016 (python 3.5.2 release) to Aug. 31, 2016.
Python versions from 2.6 to 3.5
Without 2.7
# First, we need to find our device. BEFORE inserting your USB drive, run the | |
# following: | |
diskutil list | |
# This will output a bunch of info about all of the disk drives connected to | |
# your Mac. Each entry will have a header in the form "/dev/diskX", where X is | |
# some number starting at 0. Now, insert your USB drive and run the command | |
# again. You should see a new entry. Make note of the name (ie, /dev/diskX). | |
diskutil list |
#!/bin/bash | |
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist | |
launchctl unload -w /Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist | |
launchctl unload -w /Library/LaunchAgents/com.adobe.ARMDCHelper.cc24aef4a1b90ed56a725c38014c95072f92651fb65e1bf9c8e43c37a23d420d.plist | |
launchctl unload -w /Library/LaunchDaemons/com.adobe.agsservice.plist | |
launchctl unload -w /Library/LaunchDaemons/com.adobe.ARMDC.Communicator.plist | |
launchctl unload -w /Library/LaunchDaemons/com.adobe.ARMDC.SMJobBlessHelper.plist | |
launchctl unload -w /Library/LaunchDaemons/com.adobe.adobeupdatedaemon.plist | |
sudo launchctl unload -w /Library/LaunchDaemons/com.adobe.ARMDC.Communicator.plist |
# Useful links | |
# https://stackoverflow.com/questions/42904441/pipe-sox-play-command-to-stdout | |
# http://www.zoharbabin.com/how-to-do-noise-reduction-using-ffmpeg-and-sox/ | |
# Record some noise | |
sox -t alsa default -b 16 -r 44100 -e signed -t wav - -t wav /tmp/noise.wav | |
# or alternative with arecord |
{% use 'form_div_layout.html.twig' %} | |
{% block form_start -%} | |
{% set attr = attr|merge({class: (attr.class|default('') ~ ' ui form')|trim}) %} | |
{{- parent() -}} | |
{%- endblock form_start %} | |
{# Widgets #} | |
{% block form_widget_simple -%} |
#Angular 2 ( в глубину )
Слайды - https://db.tt/sBZvCTur
##Основные ссылки
##TypeScript ( сравнение ES6 и TypeScript, важные знания и особенности )
var gulp = require("gulp"); | |
gulp.task("rjs",function(cb){ | |
var rjs = require("requirejs"); | |
var config = { | |
baseUrl:"../scripts", | |
name:"main", | |
// optimize: "none", | |
mainConfigFile:"../scripts/require-config.js", | |
out:"../res/bundle.js", |
var $button = $('.js-filter-button'); | |
$button.on('click', function(event) { | |
event.preventDefault(); | |
var $this = $(this); | |
var $form = $this.closest('form'); | |
var emptyTextBoxes = $form.find('input:text, input:radio, input:checkbox, select').filter(function() { | |
return this.value == ""; | |
}); |
<?php | |
namespace Acme\Serializer\Normalizer; | |
use Doctrine\Common\Collections\ArrayCollection; | |
use Doctrine\Common\Collections\Collection; | |
use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; | |
use Symfony\Component\Serializer\Normalizer\NormalizerInterface; | |
use Symfony\Component\Serializer\Normalizer\SerializerAwareNormalizer; |
Hi | |
After literally hours of trial and error (I'm not a Linux guy but love playing with my Raspberry Pi's), I have FINALLY got shairport-sync running on ArchLinux Arm 7 on my Raspberry Pi 2. I used numerous different sources to find all the different workarounds. I documented it and would like to give something back to the community... so here it is. I hope it's helpful. | |
Disclaimer: I'm sure I could have been a lot more efficient in my approach but I hope this will serve as a starting point for others. | |
1) RaspberryPi.org are not offering an ArchLinux image for Arm7 yet but some friendly guy has created his own and kindly put it on Mega.co.nz for all to use. Download the ArchLinux Arm 7 image for Raspberry Pi 2 from here: https://mega.co.nz/#!2JZS0CqD!KxlXr9B6URZ79zTP23vKVdrdOGVOYIeasjcjcBMoPzo | |
2) Write to a formatted SD card (at least 4GB) using Win32DiskImager. |