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
#Created by kolyvan_ru. @ https://github.com/kolyvan/kxmovie | |
#Modified by kinglonghuang @ https://github.com/kinglonghuang/kxmovie | |
require "pathname" | |
require "fileutils" | |
def system_or_exit(cmd, stdout = nil) | |
puts "Executing #{cmd}" | |
cmd += " >#{stdout}" if stdout | |
system(cmd) or raise "******** Build failed ********" |
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 <sys/types.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <sys/socket.h> | |
#include <net/if_dl.h> | |
#include <ifaddrs.h> | |
#define IFT_ETHER 0x6 | |
- (NSString *) macaddress{ |