This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ur -x 'Makefile*' -x 'config*' -x '*.cache' -x aclocal.m4 taglib-1.5/bindings/c/tag_c.cpp gplrelease/taglib-1.5/bindings/c/tag_c.cpp | |
--- taglib-1.5/bindings/c/tag_c.cpp 2008-02-12 05:43:44.000000000 +0100 | |
+++ gplrelease/taglib-1.5/bindings/c/tag_c.cpp 2011-09-28 05:57:55.000000000 +0200 | |
@@ -28,10 +28,10 @@ | |
#include <mpegfile.h> | |
#include <flacfile.h> | |
#include <oggflacfile.h> | |
-#include <mpcfile.h> | |
-#include <wavpackfile.h> | |
-#include <speexfile.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
PID = ARGV.shift | |
smaps ="/proc/#{PID}/smaps" | |
if PID.nil? | |
warn 'You must specify a PID' | |
exit 1 | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <tstring.h> | |
#include <mpegfile.h> | |
#include <id3v2tag.h> | |
#include <textidentificationframe.h> | |
int main(int argc, char *argv[]) | |
{ | |
for(int i = 1; i < argc; i++) | |
{ | |
TagLib::MPEG::File file(argv[i]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <mpegfile.h> | |
#include <id3v2tag.h> | |
#include <privateframe.h> | |
static void AddTag(const char * payload, const char * URL) | |
{ | |
TagLib::MPEG::File f(URL); | |
TagLib::ID3v2::Tag *tag = f.ID3v2Tag(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 446fcea51c0b579d30d6bf3183fada2f2f70440e Mon Sep 17 00:00:00 2001 | |
From: Scott Wheeler <[email protected]> | |
Date: Tue, 29 Oct 2013 04:06:54 +0100 | |
Subject: [PATCH 1/2] Backport patch from master to support | |
ns-use-native-fullscreen flag | |
The original patch is here: | |
http://bzr.savannah.gnu.org/lh/emacs/trunk/diff/111679 | |
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module ShopifyAPI | |
class Base | |
RETRY_AFTER = 60 | |
def self.find_each(params = {}, &block) | |
params[:limit] ||= 50 | |
params[:page] = 1 | |
retried = false | |
begin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <mpegfile.h> | |
#include <id3v2tag.h> | |
#include <unknownframe.h> | |
int main(int argc, char *argv[]) | |
{ | |
for(int i = 1; i < argc; i++) | |
{ | |
TagLib::MPEG::File f(argv[i]); | |
TagLib::ID3v2::Tag *t = f.ID3v2Tag(false); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 604a4d21ead40691afe3efe13f0ba1000b2cd61a | |
Author: Jan D. <[email protected]> | |
Date: Fri Oct 31 19:41:07 2014 +0100 | |
* macfont.m (macfont_glyph_extents): Turn off syntetic bold | |
if force_integral_p (i.e. no antialias). | |
(macfont_draw): Check ns_antialias_text, also turn off syntetic | |
bold if no antialias. | |
diff --git a/src/macfont.m b/src/macfont.m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'parser/current' | |
module Parser | |
module AST | |
class Node | |
def find(type, found: [], &block) | |
if self.type == type && (!block || block.call(self)) | |
found.push(self) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
int main(int argc, const char *argv[]) | |
{ | |
if(geteuid() != 0) | |
{ | |
fprintf(stderr, "This program should be setuid or run as root.\n"); |
OlderNewer