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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
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
var names = 'NICK1,NICK2,NICK3'; | |
names = $.map(names.split(','), function(n){ return n.trim(); }); | |
$('.comment').each(function(){ | |
if($.inArray( | |
$(this).find('.comment-headline-user-profile').text().trim(), | |
names | |
) != 0) ? $(this).empty(); | |
}); |
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
{ | |
"id": "so140527/11", | |
"name": "Sales order #11 from 27.05.2014", | |
"customer_id": 587, | |
"bill_to": { | |
"country": "Romaina", | |
"country_code": "RO", | |
"zip": "RO2546", | |
"state": "Some State or null", | |
"city": "Budapeşt", |
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
var cheat = function(){ | |
var styles = {}; | |
$('#box span').each(function(index){ | |
if ($(this).attr('style') in styles){ | |
styles[$(this).attr('style')]['count'] += 1; | |
}else{ | |
styles[$(this).attr('style')] = {'count': 1, 'o': $(this)}; | |
} |
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
sub RemoveStyles | |
oDoc = ThisComponent | |
oStyles = oDoc.getStyleFamilies | |
oPageStyles = oStyles.getByName("PageStyles") | |
oPageStyleNames() = oPageStyles.getElementNames() | |
For i = 0 to uBound(oPageStyleNames) | |
thisName = oPageStyleNames(i) | |
if InStr(thisName, "Converted") <> 0 then | |
oPageStyles.removeByName(thisName) |
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
package com.prisbank.app.a.api.model; | |
public class AndroidBuild { | |
public String BOARD = android.os.Build.BOARD; | |
public String BOOTLOADER = android.os.Build.BOOTLOADER; | |
public String BRAND = android.os.Build.BRAND; | |
public String DEVICE = android.os.Build.DEVICE; | |
public String DISPLAY = android.os.Build.DISPLAY; | |
public String FINGERPRINT = android.os.Build.FINGERPRINT; | |
public String HARDWARE = android.os.Build.HARDWARE; |
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
package name.velikodniy.vitaliy.geo.realm.yandex.route; | |
import name.velikodniy.vitaliy.geo.dto.Point; | |
import java.math.BigDecimal; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.Collections; | |
import java.util.List; |
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
# | |
# Wide-open CORS config for nginx | |
# | |
location / { | |
if ($request_method = 'OPTIONS') { | |
add_header 'Access-Control-Allow-Origin' '*'; | |
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; | |
# | |
# Custom headers and headers various browsers *should* be OK with but aren't | |
# |
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
cmake_minimum_required(VERSION 3.6) | |
project(cmr_fuse) | |
find_package(CURL) | |
find_library(JANSSON_LIBRARY NAMES jansson | |
PATHS /usr/lib /usr/local/lib /usr/include /usr/local/include ) | |
set(JANSSON_LIBRARIES ${JANSSON_LIBRARY} ) | |
set(JANSSON_INCLUDE_DIRS ${JANSSON_INCLUDE_DIR} ) |
OlderNewer