This file contains hidden or 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
# demo: http://forsk.ru:8232/company/yandex/blog/258673/ | |
# pip install html5lib beautifulsoup4 | |
# -*- coding: utf-8 -*- | |
import BaseHTTPServer | |
import requests | |
import string | |
from bs4 import BeautifulSoup | |
def main(): | |
httpd = BaseHTTPServer.HTTPServer(('0.0.0.0', 8232), TMHandler) |
This file contains hidden or 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 "admobctl.h" | |
#include "QtAdMob/QtAdMobBanner.h" | |
#include "QtAdMob/QtAdMobInterstitial.h" | |
#include <QtQml> | |
#include <QDebug> | |
#include <QTimer> | |
AdMobCtl::AdMobCtl(QObject *parent) : QObject(parent) | |
{ | |
m_Banner = CreateQtAdMobBanner(); |
This file contains hidden or 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 main | |
import ( | |
"github.com/PuerkitoBio/goquery" | |
"github.com/geziyor/geziyor" | |
"github.com/geziyor/geziyor/client" | |
"github.com/tidwall/gjson" | |
"log" | |
"os" | |
"strings" |
This file contains hidden or 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 <QCoreApplication> | |
#include <QDebug> | |
#include <windows.h> | |
#include <shellapi.h> | |
int utf8Main(int argc, char *argv[]) | |
{ | |
QStringList utf8Args; | |
for (int i = 0; i != argc; ++i) |
This file contains hidden or 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 alpine:3 | |
RUN apk add --no-cache libc6-compat cmake ninja git gcc g++ libc-dev \ | |
yasm bash curl make linux-headers curl zip unzip tar \ | |
patch libx11-dev libx11-dev mesa mesa-dev libxi-dev \ | |
libxext-dev autoconf gettext gettext-dev libxkbcommon-dev \ | |
bison pkgconfig gperf python3 glu glu-dev mesa-gl libxcb \ | |
libxcb-dev libxkbcommon libxkbcommon-dev libxkbcommon-x11 \ | |
xcb-util-wm-dev xcb-util-image-dev xcb-util-keysyms-dev \ | |
xcb-util-cursor-dev xcb-util-renderutil-dev xcb-util-xrm-dev \ |
This file contains hidden or 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 | |
#set -x | |
#ZIP_URL="http://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2015-11-24/2015-11-21-raspbian-jessie-lite.zip" | |
#ZIP_NAME="2015-11-21-raspbian-jessie-lite.zip" | |
#IMG_NAME="2015-11-21-raspbian-jessie-lite.img" | |
ZIP_URL="http://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2019-09-30/2019-09-26-raspbian-buster-lite.zip" |
This file contains hidden or 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
# YouTube (english) : https://www.youtube.com/watch?v=FtU2_bBfSgM | |
# YouTube (french) : https://www.youtube.com/watch?v=VjnaVBnERDU | |
# | |
# On your laptop, connect to the Mac instance with SSH (similar to Linux instances) | |
# | |
ssh -i <your private key.pem> ec2-user@<your public ip address> | |
# | |
# On the Mac |
This file contains hidden or 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
Submodule qtbase 519fcb38a2..705dee9621: | |
diff --git a/qtbase/mkspecs/common/msvc-desktop.conf b/qtbase/mkspecs/common/msvc-desktop.conf | |
index b7d2eecc82..755d92149c 100644 | |
--- a/qtbase/mkspecs/common/msvc-desktop.conf | |
+++ b/qtbase/mkspecs/common/msvc-desktop.conf | |
@@ -22,6 +22,10 @@ contains(QMAKE_TARGET.arch, x86_64) { | |
DEFINES += WIN64 | |
QMAKE_COMPILER_DEFINES += _WIN64 | |
} | |
+contains(QMAKE_TARGET.arch, arm64) { |
This file contains hidden or 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
killall Xcode | |
xcrun -k | |
xcodebuild -alltargets clean | |
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache" | |
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang.$(whoami)/ModuleCache" | |
rm -rf /Applications/Xcode.app | |
rm -rf ~/Library/Caches/com.apple.dt.Xcode | |
rm -rf ~/Library/Developer | |
rm -rf ~/Library/MobileDevice | |
rm -rf ~/Library/Preferences/com.apple.dt.Xcode.plist |
OlderNewer