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
#!/bin/bash | |
# Recursive file convertion windows-1251 --> utf-8 | |
# Place this file in the root of your site, add execute permission and run | |
# Converts *.php, *.html, *.css, *.js files. | |
# To add file type by extension, e.g. *.cgi, add '-o -name "*.cgi"' to the find command | |
find ./ -name "*.sql" -o -name "*.vbs" -type f | | |
while read file | |
do |
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
#define _XOPEN_SOURCE 500 /* Enable certain library functions (strdup) on linux. See feature_test_macros(7) */ | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <limits.h> | |
#include <string.h> | |
struct entry_s { | |
char *key; | |
char *value; |
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
<table style="width: 922px;"> | |
<tbody> | |
<tr> | |
<td style="width: 22px;"> id</td> | |
<td style="width: 74px;">Worker ID </td> | |
<td style="width: 116px;"> Hashrate1 (2,5s)</td> | |
<td style="width: 112px;">Hashrate2 (60s) </td> | |
<td style="width: 113px;">Hashrate3 (15m)</td> | |
<td style="width: 81px;">Pool Name </td> | |
<td style="width: 109px;">CryptoCurrency </td> |
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
int main() | |
{ | |
std::string str = "ATTACKATDAWN"; | |
std::string key = "LEMONLEMONLE"; | |
std::string result; | |
int keyIndex = 0; | |
char s_buffer[100]; |
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
<div class="col-sm-6 col-md-8"><h1 class="blogpost-title text-left text-dark m-t-sm" headline="Где попрактиковаться в программировании: 30 ресурсов" ng-non-bindable="">Где попрактиковаться в программировании: 30 ресурсов</h1><div class="blogpost-description text-lg m-t-lg text-dark" style="opacity:0.6" ng-non-bindable="">Задачки, упражнения и соревнования для начинающих и опытных кодеров.</div><div class="m-t-md">28 января 20193 минуты6664</div><div class="m-b-lg"></div><div class="blogpost-content content_text content js-mediator-article js-blogpost-content" ng-non-bindable="" articlebody="<span>Задачки, упражнения и соревнования для начинающих и опытных кодеров.</span> <p><img src="https://uploads.hb.cldmail.ru/geekbrains/public/ckeditor_assets/pictures/6278/content-b2ed82bb1ce2a91ae26aeb05839ddf0e.jpeg"></p> | |
<p>Быть настоящим программистом — это не только смотреть тысячи часов видео, но и писать десятки тысяч строк кода. Подобрали для вас полезные ресурсы, на которых можно размяться в программир |
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
def binary_search(list, item): | |
low = 0 | |
high = len(list) - 1 | |
while (low <= high): | |
mid = int((low + high) / 2) | |
guess = list[mid] | |
if guess == item: | |
return mid | |
if guess > item: |
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
sudo raspi-config |
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.example.downloadwebcontent; | |
import androidx.appcompat.app.AppCompatActivity; | |
import android.os.AsyncTask; | |
import android.os.Bundle; | |
import android.util.Log; | |
import java.util.concurrent.ExecutionException; |
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.example.guesscelebrities; | |
import androidx.appcompat.app.AppCompatActivity; | |
import android.os.AsyncTask; | |
import android.os.Bundle; | |
import android.telephony.euicc.DownloadableSubscription; | |
import android.util.Log; | |
import java.io.InputStream; |
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.example.myapplication; | |
import androidx.appcompat.app.AppCompatActivity; | |
import android.graphics.Bitmap; | |
import android.os.AsyncTask; | |
import android.os.Bundle; | |
import android.util.Log; | |
import org.json.JSONArray; |
OlderNewer