View timelapse_.idea_dictionaries_mcctor.xml
<component name="ProjectDictionaryState">
<dictionary name="mcctor">
<words>
<w>nfkc</w>
<w>unselect</w>
</words>
</dictionary>
</component>
View zadanie3.py
from unicorn import *
from unicorn.x86_const import *
import struct
def read(name):
with open(name) as f:
return f.read()
def u32(data): #zamien ciag 4 bajtow na liczbe w formacie little-endian
View gist:7639e98988d6405effbe2bfe6d435fc4
from unicorn import *
from unicorn.x86_const import *
import struct
def read(name):
with open(name) as f:
return f.read()
def u32(data): #zamien ciag 4 bajtow na liczbe w formacie little-endian
View gist:ef14eb2139c61403d4964fc230151f38
/**
* Hide shipping rates when free shipping is available.
* Updated to support WooCommerce 2.6 Shipping Zones.
*
* @param array $rates Array of rates found for the package.
* @return array
*/
function my_hide_shipping_when_free_is_available( $rates ) {
$free = array();
foreach ( $rates as $rate_id => $rate ) {
View moj_piekny_kodzik.py
from unicorn import *
from unicorn.x86_const import *
import struct
def read(name):
with open(name) as f:
return f.read()
def u32(data): #zamien ciag 4 bajtow na liczbe w formacie little-endian
View Test.cs
using UnityEngine;
using System.Collections;
using UnityEngine.EventSystems;
using UnityEngine.UI;
using System.Collections.Generic;
public class Test : MonoBehaviour,IPointerClickHandler ,IPointerDownHandler,IPointerUpHandler
{
//监听按下
View create-mbtiles.py
# -*- coding: utf-8 -*-
import io
import json
import re
import sqlite3
import sys
import time
import os
import zlib
View app.js
function addNotifyToAllAccounts(input, sender) {
console.log("Trying to find user");
User.find({ username: input[1] }, function(err, userdb) {
if(!err && userdb){
console.log("Found user: " + userdb[0].username);
let newNotification = '';
// rebuilding message
for(var i = 2; i < input.length; i++){
newNotification += input[i] + " ";
}
View dynamic-formset.js
function updateElementIndex(el, prefix, ndx) {
var id_regex = new RegExp('(' + prefix + '-\\d+)');
var replacement = prefix + '-' + ndx;
if ($(el).attr("for")) $(el).attr("for", $(el).attr("for").replace(id_regex, replacement));
if (el.id) el.id = el.id.replace(id_regex, replacement);
if (el.name) el.name = el.name.replace(id_regex, replacement);
}
function addForm(btn, prefix) {
var formCount = parseInt($('#id_' + prefix + '-TOTAL_FORMS').val());