file_path stringlengths 3 280 | file_language stringclasses 66
values | content stringlengths 1 1.04M | repo_name stringlengths 5 92 | repo_stars int64 0 154k | repo_description stringlengths 0 402 | repo_primary_language stringclasses 108
values | developer_username stringlengths 1 25 | developer_name stringlengths 0 30 | developer_company stringlengths 0 82 |
|---|---|---|---|---|---|---|---|---|---|
src/BLEAdvertisedDevice.h | C/C++ Header | /*
* BLEAdvertisedDevice.h
*
* Created on: Jul 3, 2017
* Author: kolban
*/
#ifndef COMPONENTS_CPP_UTILS_BLEADVERTISEDDEVICE_H_
#define COMPONENTS_CPP_UTILS_BLEADVERTISEDDEVICE_H_
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <esp_gattc_api.h>
#include <map>
#include "BLEAddress.h"
#includ... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEAdvertising.cpp | C++ | /*
* BLEAdvertising.cpp
*
* This class encapsulates advertising a BLE Server.
* Created on: Jun 21, 2017
* Author: kolban
*
* The ESP-IDF provides a framework for BLE advertising. It has determined that there are a common set
* of properties that are advertised and has built a data structure that can be ... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEAdvertising.h | C/C++ Header | /*
* BLEAdvertising.h
*
* Created on: Jun 21, 2017
* Author: kolban
*/
#ifndef COMPONENTS_CPP_UTILS_BLEADVERTISING_H_
#define COMPONENTS_CPP_UTILS_BLEADVERTISING_H_
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <esp_gap_ble_api.h>
#include "BLEUUID.h"
#include <vector>
#include "FreeRTOS.h"... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEBeacon.cpp | C++ | /*
* BLEBeacon.cpp
*
* Created on: Jan 4, 2018
* Author: kolban
*/
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <string.h>
#include "BLEBeacon.h"
#include "esp32-hal-log.h"
#define ENDIAN_CHANGE_U16(x) ((((x)&0xFF00)>>8) + (((x)&0xFF)<<8))
BLEBeacon::BLEBeacon() {
m_beaconData.manufactu... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEBeacon.h | C/C++ Header | /*
* BLEBeacon2.h
*
* Created on: Jan 4, 2018
* Author: kolban
*/
#ifndef COMPONENTS_CPP_UTILS_BLEBEACON_H_
#define COMPONENTS_CPP_UTILS_BLEBEACON_H_
#include "BLEUUID.h"
/**
* @brief Representation of a beacon.
* See:
* * https://en.wikipedia.org/wiki/IBeacon
*/
class BLEBeacon {
private:
struct {
u... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLECharacteristic.cpp | C++ | /*
* BLECharacteristic.cpp
*
* Created on: Jun 22, 2017
* Author: kolban
*/
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <sstream>
#include <string.h>
#include <iomanip>
#include <stdlib.h>
#include "sdkconfig.h"
#include <esp_err.h>
#include "BLECharacteristic.h"
#include "BLEService.h"
#i... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLECharacteristic.h | C/C++ Header | /*
* BLECharacteristic.h
*
* Created on: Jun 22, 2017
* Author: kolban
*/
#ifndef COMPONENTS_CPP_UTILS_BLECHARACTERISTIC_H_
#define COMPONENTS_CPP_UTILS_BLECHARACTERISTIC_H_
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <string>
#include <map>
#include "BLEUUID.h"
#include <esp_gatts_api.h>... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLECharacteristicMap.cpp | C++ | /*
* BLECharacteristicMap.cpp
*
* Created on: Jun 22, 2017
* Author: kolban
*/
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <sstream>
#include <iomanip>
#include "BLEService.h"
#ifdef ARDUINO_ARCH_ESP32
#include "esp32-hal-log.h"
#endif
/**
* @brief Return the characteristic by handle.
... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEClient.cpp | C++ | /*
* BLEDevice.cpp
*
* Created on: Mar 22, 2017
* Author: kolban
*/
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <esp_bt.h>
#include <esp_bt_main.h>
#include <esp_gap_ble_api.h>
#include <esp_gattc_api.h>
#include "BLEClient.h"
#include "BLEUtils.h"
#include "BLEService.h"
#include "General... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEClient.h | C/C++ Header | /*
* BLEDevice.h
*
* Created on: Mar 22, 2017
* Author: kolban
*/
#ifndef MAIN_BLEDEVICE_H_
#define MAIN_BLEDEVICE_H_
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <esp_gattc_api.h>
#include <string.h>
#include <map>
#include <string>
//#include "BLEExceptions.h"
#include "BLERemoteServic... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEDescriptor.cpp | C++ | /*
* BLEDescriptor.cpp
*
* Created on: Jun 22, 2017
* Author: kolban
*/
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <sstream>
#include <string.h>
#include <iomanip>
#include <stdlib.h>
#include "sdkconfig.h"
#include <esp_err.h>
#include "BLEService.h"
#include "BLEDescriptor.h"
#include "... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEDescriptor.h | C/C++ Header | /*
* BLEDescriptor.h
*
* Created on: Jun 22, 2017
* Author: kolban
*/
#ifndef COMPONENTS_CPP_UTILS_BLEDESCRIPTOR_H_
#define COMPONENTS_CPP_UTILS_BLEDESCRIPTOR_H_
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <string>
#include "BLEUUID.h"
#include "BLECharacteristic.h"
#include <esp_gatts_ap... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEDescriptorMap.cpp | C++ | /*
* BLEDescriptorMap.cpp
*
* Created on: Jun 22, 2017
* Author: kolban
*/
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <sstream>
#include <iomanip>
#include "BLECharacteristic.h"
#include "BLEDescriptor.h"
#include <esp_gatts_api.h> // ESP32 BLE
#ifdef ARDUINO_ARCH_ESP32
#include "esp32-... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEDevice.cpp | C++ | /*
* BLE.cpp
*
* Created on: Mar 16, 2017
* Author: kolban
*/
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <freertos/FreeRTOS.h>
#include <freertos/event_groups.h>
#include <freertos/task.h>
#include <esp_err.h>
#include <nvs_flash.h>
#include <esp_bt.h> // ESP32 BLE
#include <es... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEDevice.h | C/C++ Header | /*
* BLEDevice.h
*
* Created on: Mar 16, 2017
* Author: kolban
*/
#ifndef MAIN_BLEDevice_H_
#define MAIN_BLEDevice_H_
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <esp_gap_ble_api.h> // ESP32 BLE
#include <esp_gattc_api.h> // ESP32 BLE
#include <map> // Part of C++ STL
#inc... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEEddystoneTLM.cpp | C++ | /*
* BLEEddystoneTLM.cpp
*
* Created on: Mar 12, 2018
* Author: pcbreflux
*/
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <string.h>
#include <stdio.h>
#include "esp32-hal-log.h"
#include "BLEEddystoneTLM.h"
static const char LOG_TAG[] = "BLEEddystoneTLM";
#define ENDIAN_CHANGE_U16(x) ((((... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEEddystoneTLM.h | C/C++ Header | /*
* BLEEddystoneTLM.cpp
*
* Created on: Mar 12, 2018
* Author: pcbreflux
*/
#ifndef _BLEEddystoneTLM_H_
#define _BLEEddystoneTLM_H_
#include "BLEUUID.h"
#define EDDYSTONE_TLM_FRAME_TYPE 0x20
/**
* @brief Representation of a beacon.
* See:
* * https://github.com/google/eddystone
*/
class BLEEddystoneT... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEEddystoneURL.cpp | C++ | /*
* BLEEddystoneURL.cpp
*
* Created on: Mar 12, 2018
* Author: pcbreflux
*/
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <string.h>
#include "esp32-hal-log.h"
#include "BLEEddystoneURL.h"
static const char LOG_TAG[] = "BLEEddystoneURL";
BLEEddystoneURL::BLEEddystoneURL() {
beaconUUID = ... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEEddystoneURL.h | C/C++ Header | /*
* BLEEddystoneURL.cpp
*
* Created on: Mar 12, 2018
* Author: pcbreflux
*/
#ifndef _BLEEddystoneURL_H_
#define _BLEEddystoneURL_H_
#include "BLEUUID.h"
#define EDDYSTONE_URL_FRAME_TYPE 0x10
/**
* @brief Representation of a beacon.
* See:
* * https://github.com/google/eddystone
*/
class BLEEddystoneU... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEExceptions.cpp | C++ | /*
* BLExceptions.cpp
*
* Created on: Nov 27, 2017
* Author: kolban
*/
//#include "BLEExceptions.h"
| 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEExceptions.h | C/C++ Header | /*
* BLExceptions.h
*
* Created on: Nov 27, 2017
* Author: kolban
*/
#ifndef COMPONENTS_CPP_UTILS_BLEEXCEPTIONS_H_
#define COMPONENTS_CPP_UTILS_BLEEXCEPTIONS_H_
#include "sdkconfig.h"
#if CONFIG_CXX_EXCEPTIONS != 1
#error "C++ exception handling must be enabled within make menuconfig. See Compiler Options ... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEHIDDevice.cpp | C++ | /*
* BLEHIDDevice.cpp
*
* Created on: Jan 03, 2018
* Author: chegewara
*/
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include "BLEHIDDevice.h"
#include "BLE2904.h"
BLEHIDDevice::BLEHIDDevice(BLEServer* server) {
/*
* Here we create mandatory services described in bluetooth specification
*/... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEHIDDevice.h | C/C++ Header | /*
* BLEHIDDevice.h
*
* Created on: Jan 03, 2018
* Author: chegewara
*/
#ifndef _BLEHIDDEVICE_H_
#define _BLEHIDDEVICE_H_
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include "BLECharacteristic.h"
#include "BLEService.h"
#include "BLEDescriptor.h"
#include "BLE2902.h"
#include "HIDTypes.h"
#def... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLERemoteCharacteristic.cpp | C++ | /*
* BLERemoteCharacteristic.cpp
*
* Created on: Jul 8, 2017
* Author: kolban
*/
#include "BLERemoteCharacteristic.h"
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <esp_gattc_api.h>
#include <esp_err.h>
#include <sstream>
//#include "BLEExceptions.h"
#include "BLEUtils.h"
#include "Gener... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLERemoteCharacteristic.h | C/C++ Header | /*
* BLERemoteCharacteristic.h
*
* Created on: Jul 8, 2017
* Author: kolban
*/
#ifndef COMPONENTS_CPP_UTILS_BLEREMOTECHARACTERISTIC_H_
#define COMPONENTS_CPP_UTILS_BLEREMOTECHARACTERISTIC_H_
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <string>
#include <esp_gattc_api.h>
#include "BLERe... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLERemoteDescriptor.cpp | C++ | /*
* BLERemoteDescriptor.cpp
*
* Created on: Jul 8, 2017
* Author: kolban
*/
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <sstream>
#include "BLERemoteDescriptor.h"
#include "GeneralUtils.h"
#include "esp32-hal-log.h"
BLERemoteDescriptor::BLERemoteDescriptor(
uint16_t hand... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLERemoteDescriptor.h | C/C++ Header | /*
* BLERemoteDescriptor.h
*
* Created on: Jul 8, 2017
* Author: kolban
*/
#ifndef COMPONENTS_CPP_UTILS_BLEREMOTEDESCRIPTOR_H_
#define COMPONENTS_CPP_UTILS_BLEREMOTEDESCRIPTOR_H_
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <string>
#include <esp_gattc_api.h>
#include "BLERemoteCharacter... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLERemoteService.cpp | C++ | /*
* BLERemoteService.cpp
*
* Created on: Jul 8, 2017
* Author: kolban
*/
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <sstream>
#include "BLERemoteService.h"
#include "BLEUtils.h"
#include "GeneralUtils.h"
#include <esp_err.h>
#include "esp32-hal-log.h"
#pragma GCC diagnostic warning "-W... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLERemoteService.h | C/C++ Header | /*
* BLERemoteService.h
*
* Created on: Jul 8, 2017
* Author: kolban
*/
#ifndef COMPONENTS_CPP_UTILS_BLEREMOTESERVICE_H_
#define COMPONENTS_CPP_UTILS_BLEREMOTESERVICE_H_
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <map>
#include "BLEClient.h"
#include "BLERemoteCharacteristic.h"
#includ... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEScan.cpp | C++ | /*
* BLEScan.cpp
*
* Created on: Jul 1, 2017
* Author: kolban
*/
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <esp_err.h>
#include <map>
#include "BLEAdvertisedDevice.h"
#include "BLEScan.h"
#include "BLEUtils.h"
#include "GeneralUtils.h"
#include "esp32-hal-log.h"
/**
* Constructor
... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEScan.h | C/C++ Header | /*
* BLEScan.h
*
* Created on: Jul 1, 2017
* Author: kolban
*/
#ifndef COMPONENTS_CPP_UTILS_BLESCAN_H_
#define COMPONENTS_CPP_UTILS_BLESCAN_H_
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <esp_gap_ble_api.h>
// #include <vector>
#include <string>
#include "BLEAdvertisedDevice.h"
#include ... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLESecurity.cpp | C++ | /*
* BLESecurity.cpp
*
* Created on: Dec 17, 2017
* Author: chegewara
*/
#include "BLESecurity.h"
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
BLESecurity::BLESecurity() {
}
BLESecurity::~BLESecurity() {
}
/*
* @brief Set requested authentication mode
*/
void BLESecurity::setAuthenticationMode(... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLESecurity.h | C/C++ Header | /*
* BLESecurity.h
*
* Created on: Dec 17, 2017
* Author: chegewara
*/
#ifndef COMPONENTS_CPP_UTILS_BLESECURITY_H_
#define COMPONENTS_CPP_UTILS_BLESECURITY_H_
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <esp_gap_ble_api.h>
class BLESecurity {
public:
BLESecurity();
virtual ~BLESecurit... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEServer.cpp | C++ | /*
* BLEServer.cpp
*
* Created on: Apr 16, 2017
* Author: kolban
*/
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <esp_bt.h>
#include <esp_bt_main.h>
#include "GeneralUtils.h"
#include "BLEDevice.h"
#include "BLEServer.h"
#include "BLEService.h"
#include "BLEUtils.h"
#include <string.h>
#in... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEServer.h | C/C++ Header | /*
* BLEServer.h
*
* Created on: Apr 16, 2017
* Author: kolban
*/
#ifndef COMPONENTS_CPP_UTILS_BLESERVER_H_
#define COMPONENTS_CPP_UTILS_BLESERVER_H_
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <esp_gatts_api.h>
#include <string>
#include <string.h>
// #include "BLEDevice.h"
#include "B... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEService.cpp | C++ | /*
* BLEService.cpp
*
* Created on: Mar 25, 2017
* Author: kolban
*/
// A service is identified by a UUID. A service is also the container for one or more characteristics.
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <esp_err.h>
#include <esp_gatts_api.h>
#include <iomanip>
#include <ss... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEService.h | C/C++ Header | /*
* BLEService.h
*
* Created on: Mar 25, 2017
* Author: kolban
*/
#ifndef COMPONENTS_CPP_UTILS_BLESERVICE_H_
#define COMPONENTS_CPP_UTILS_BLESERVICE_H_
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <esp_gatts_api.h>
#include "BLECharacteristic.h"
#include "BLEServer.h"
#include "BLEUUID.... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEServiceMap.cpp | C++ | /*
* BLEServiceMap.cpp
*
* Created on: Jun 22, 2017
* Author: kolban
*/
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <stdio.h>
#include <iomanip>
#include "BLEService.h"
/**
* @brief Return the service by UUID.
* @param [in] UUID The UUID to look up the service.
* @return The character... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEUUID.cpp | C++ | /*
* BLEUUID.cpp
*
* Created on: Jun 21, 2017
* Author: kolban
*/
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <string.h>
#include <sstream>
#include <iomanip>
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include "BLEUUID.h"
#include "esp32-hal-log.h"
/**
* @brief Copy memo... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEUUID.h | C/C++ Header | /*
* BLEUUID.h
*
* Created on: Jun 21, 2017
* Author: kolban
*/
#ifndef COMPONENTS_CPP_UTILS_BLEUUID_H_
#define COMPONENTS_CPP_UTILS_BLEUUID_H_
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <esp_gatt_defs.h>
#include <string>
/**
* @brief A model of a %BLE UUID.
*/
class BLEUUID {
public... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEUtils.cpp | C++ | /*
* BLEUtils.cpp
*
* Created on: Mar 25, 2017
* Author: kolban
*/
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include "BLEAddress.h"
#include "BLEClient.h"
#include "BLEUtils.h"
#include "BLEUUID.h"
#include "GeneralUtils.h"
#include <freertos/FreeRTOS.h>
#include <freertos/event_groups.h>
#incl... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEUtils.h | C/C++ Header | /*
* BLEUtils.h
*
* Created on: Mar 25, 2017
* Author: kolban
*/
#ifndef COMPONENTS_CPP_UTILS_BLEUTILS_H_
#define COMPONENTS_CPP_UTILS_BLEUTILS_H_
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <esp_gattc_api.h> // ESP32 BLE
#include <esp_gatts_api.h> // ESP32 BLE
#include <esp_gap_ble_a... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEValue.cpp | C++ | /*
* BLEValue.cpp
*
* Created on: Jul 17, 2017
* Author: kolban
*/
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include "BLEValue.h"
#include "esp32-hal-log.h"
BLEValue::BLEValue() {
m_accumulation = "";
m_value = "";
m_readOffset = 0;
} // BLEValue
/**
* @brief Add a message part t... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/BLEValue.h | C/C++ Header | /*
* BLEValue.h
*
* Created on: Jul 17, 2017
* Author: kolban
*/
#ifndef COMPONENTS_CPP_UTILS_BLEVALUE_H_
#define COMPONENTS_CPP_UTILS_BLEVALUE_H_
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <string>
/**
* @brief The model of a %BLE value.
*/
class BLEValue {
public:
BLEValue();
void... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/FreeRTOS.cpp | C++ | /*
* FreeRTOS.cpp
*
* Created on: Feb 24, 2017
* Author: kolban
*/
#include <freertos/FreeRTOS.h> // Include the base FreeRTOS definitions
#include <freertos/task.h> // Include the task definitions
#include <freertos/semphr.h> // Include the semaphore definitions
#include <string>
#include <sstre... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/FreeRTOS.h | C/C++ Header | /*
* FreeRTOS.h
*
* Created on: Feb 24, 2017
* Author: kolban
*/
#ifndef MAIN_FREERTOS_H_
#define MAIN_FREERTOS_H_
#include <stdint.h>
#include <string>
#include <pthread.h>
#include <freertos/FreeRTOS.h> // Include the base FreeRTOS definitions.
#include <freertos/task.h> // Include the task defin... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/GeneralUtils.cpp | C++ | /*
* GeneralUtils.cpp
*
* Created on: May 20, 2017
* Author: kolban
*/
#include "GeneralUtils.h"
#include <esp_system.h>
#include <string.h>
#include <stdio.h>
#include <string>
#include <sstream>
#include <iomanip>
#include "FreeRTOS.h"
#include <esp_err.h>
#include <nvs.h>
#include <esp_wifi.h>
#include <... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/GeneralUtils.h | C/C++ Header | /*
* GeneralUtils.h
*
* Created on: May 20, 2017
* Author: kolban
*/
#ifndef COMPONENTS_CPP_UTILS_GENERALUTILS_H_
#define COMPONENTS_CPP_UTILS_GENERALUTILS_H_
#include <stdint.h>
#include <string>
#include <esp_err.h>
#include <algorithm>
#include <vector>
/**
* @brief General utilities.
*/
class General... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/HIDKeyboardTypes.h | C/C++ Header | /* Copyright (c) 2015 mbed.org, MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use, copy, modify, merge, pub... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
src/HIDTypes.h | C/C++ Header | /* Copyright (c) 2010-2011 mbed.org, MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use, copy, modify, merge, pu... | 1technophile/BLE | 0 | Temporary directory before the release of Arduino ESP32 with the library version | C++ | 1technophile | Florian | |
index.js | JavaScript | import { ChemicalServer } from "chemicaljs";
import express from "express";
const [app, listen] = new ChemicalServer({
default: "uv",
uv: true,
scramjet: false,
meteor: false,
rammerhead: false,
});
const port = process.env.PORT || 3000;
app.use(
express.static("public", {
index: "index.html",
ext... | 3kh0/Oxide | 23 | No tracking, no useless stuff, just a dead simple proxy. | HTML | 3kh0 | Echo | hackclub |
public/404.html | HTML | <style>
a:link {
text-decoration: none;
color: blue;
}
a:visited {
text-decoration: none;
color: blue;
}
a:hover {
text-decoration: underline;
color: blue;
}
a:active {
text-decoration: none;
color: blue;
}
</style>
<center>
<h1 style="margin: 0;">404 Error</h1>
<p st... | 3kh0/Oxide | 23 | No tracking, no useless stuff, just a dead simple proxy. | HTML | 3kh0 | Echo | hackclub |
public/credits.html | HTML | <style>
body {
margin: 0;
padding: 0;
color: black;
background-color: white;
}
h1,
h2,
h3,
h4,
p {
margin: 10px;
}
a:link {
text-decoration: none;
color: blue;
}
a:visited {
text-decoration: none;
color: blue;
}
a:hover {
text-decoration: underline;
... | 3kh0/Oxide | 23 | No tracking, no useless stuff, just a dead simple proxy. | HTML | 3kh0 | Echo | hackclub |
public/extra.js | JavaScript | // about blank
let cfgBlank = document.getElementById("cfgBlank");
cfgBlank.addEventListener("click", function () {
var win = window.open();
win.document.body.style.margin = "0";
win.document.body.style.height = "100vh";
var frm = win.document.createElement("iframe");
frm.style.border = "none";
frm.style.w... | 3kh0/Oxide | 23 | No tracking, no useless stuff, just a dead simple proxy. | HTML | 3kh0 | Echo | hackclub |
public/faq.html | HTML | <style>
body {
margin: 0;
padding: 0;
color: black;
background-color: white;
}
h1,
h2,
h3,
h4,
p {
margin: 10px;
}
a:link {
text-decoration: none;
color: blue;
}
a:visited {
text-decoration: none;
color: blue;
}
a:hover {
text-decoration: underline;
... | 3kh0/Oxide | 23 | No tracking, no useless stuff, just a dead simple proxy. | HTML | 3kh0 | Echo | hackclub |
public/index.html | HTML | <html lang="en">
<head>
<title>Oxide</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content=" No tracking, no useless stuff, just a dead simple proxy. " />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<script src="/chemical.js"... | 3kh0/Oxide | 23 | No tracking, no useless stuff, just a dead simple proxy. | HTML | 3kh0 | Echo | hackclub |
public/main.js | JavaScript | const form = document.getElementById("form");
form.addEventListener("keydown", async function (e) {
if (e.key == "Enter" && chemical.loaded && e.target.value) {
let input = e.target.value;
try {
new URL(input);
} catch (_) {
// search it
input = 'https://duckduckgo.com/?q=' + encodeURICo... | 3kh0/Oxide | 23 | No tracking, no useless stuff, just a dead simple proxy. | HTML | 3kh0 | Echo | hackclub |
homepage.html | HTML | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Custom Homepage</title>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
margin-top: 50px;
}
</style>
</head>
<body>
<h1>We... | 3kh0/fuckyouwebsite | 8 | Preventing you from using the web properly - Scrapyard Flagship 2025 | JavaScript | 3kh0 | Echo | hackclub |
src/background.js | JavaScript | const tabs = [];
function checktabs() {
chrome.tabs.query({}, function (tabResults) {
tabs.length = 0;
tabs.push(...tabResults);
if (tabs.length > 5) {
const randomIndex = Math.floor(Math.random() * tabs.length);
chrome.tabs.remove(tabs[randomIndex].id);
chrome.notifications.create({
... | 3kh0/fuckyouwebsite | 8 | Preventing you from using the web properly - Scrapyard Flagship 2025 | JavaScript | 3kh0 | Echo | hackclub |
src/index.js | JavaScript | // 50/50
const areYouFucked = Math.random() > 0.5;
if (areYouFucked) {
console.log("GG");
}
//spinning wheel
const site = `<html>
<head>
<title>Movie Selector</title>
<style>
*{
box-sizing: border-box;
padding: 0;
margin: 0;
outline: none;
}
body{
font-family: "Open Sans";
display: flex;
... | 3kh0/fuckyouwebsite | 8 | Preventing you from using the web properly - Scrapyard Flagship 2025 | JavaScript | 3kh0 | Echo | hackclub |
src/override/hackclubdotcom.js | JavaScript | const replacements = {
hackclub: "paintclub",
"hack club": "paint club",
HACKCLUB: "PAINTCLUB",
"HACK CLUB": "PAINT CLUB",
};
function has_ancestor_class(node, class_name) {
while (node) {
if (node.classList && node.classList.contains(class_name)) {
return true;
}
node = node.parentElement;
... | 3kh0/fuckyouwebsite | 8 | Preventing you from using the web properly - Scrapyard Flagship 2025 | JavaScript | 3kh0 | Echo | hackclub |
src/punish/celebrating.js | JavaScript | const pointlessHistory = [
{ date: "1886-05-08", event: "The first bottle of Coca-Cola is sold." },
{ date: "1868-12-10", event: "The first electric streetlight is tested in London." },
{ date: "1968-01-13", event: "Johnny Cash performs his famous concert at Folsom Prison." },
{ date: "1967-06-27", event: "The ... | 3kh0/fuckyouwebsite | 8 | Preventing you from using the web properly - Scrapyard Flagship 2025 | JavaScript | 3kh0 | Echo | hackclub |
src/punish/censorship.js | JavaScript | // if it has democracy, eg: https://www.state.gov/policy-issues/human-rights-and-democracy/
console.log("censorship yea");
const site = `
<html>
<head>
<style>
body {
font-family: Arial, sans-serif;
padding: 20px;
margin: 0;
background-color: #f9f9f9;
color: #000;
... | 3kh0/fuckyouwebsite | 8 | Preventing you from using the web properly - Scrapyard Flagship 2025 | JavaScript | 3kh0 | Echo | hackclub |
src/punish/chinese.js | JavaScript | function loadCustomFont(fontName, fontUrl) {
console.log("hiiiiii");
const font = new FontFace(fontName, `url(${fontUrl})`);
font
.load()
.then((loadedFont) => {
document.fonts.add(loadedFont);
document.body.style.fontFamily = fontName;
document.querySelectorAll("*").forEach((el) => {
... | 3kh0/fuckyouwebsite | 8 | Preventing you from using the web properly - Scrapyard Flagship 2025 | JavaScript | 3kh0 | Echo | hackclub |
src/punish/colorize.js | JavaScript | console.log("colorize");
function genHexString(len) {
const hex = "0123456789ABCDEF";
let output = "";
for (let i = 0; i < len; ++i) {
output += hex.charAt(Math.floor(Math.random() * hex.length));
}
return output;
}
// import comic sans
const fontLink = document.createElement("link");
fontLink.href = "h... | 3kh0/fuckyouwebsite | 8 | Preventing you from using the web properly - Scrapyard Flagship 2025 | JavaScript | 3kh0 | Echo | hackclub |
src/punish/dates.js | JavaScript | const pointlessHistory = [
{ date: "1886-05-08", event: "The first bottle of Coca-Cola is sold." },
{ date: "1868-12-10", event: "The first electric streetlight is tested in London." },
{ date: "1968-01-13", event: "Johnny Cash performs his famous concert at Folsom Prison." },
{ date: "1967-06-27", event: "The ... | 3kh0/fuckyouwebsite | 8 | Preventing you from using the web properly - Scrapyard Flagship 2025 | JavaScript | 3kh0 | Echo | hackclub |
src/punish/google.js | JavaScript | console.log("hiiiiiifvdgbfhntmjznhtbgrvfcd");
document.querySelectorAll(".NKTSme span, .SJajHc.NVbCr").forEach((element) => {
element.style.background = "url(/images/nav_logo321_hr.webp) -24px 0px / 167px no-repeat";
element.style.width = "28px";
element.style.fontFamily = "MyCustomFont";
});
document.querySele... | 3kh0/fuckyouwebsite | 8 | Preventing you from using the web properly - Scrapyard Flagship 2025 | JavaScript | 3kh0 | Echo | hackclub |
src/punish/logoReplace.js | JavaScript | // Replace logos
const logoMap = {
"mcdonalds.com": "https://upload.wikimedia.org/wikipedia/commons/6/6f/Burger_King_logo.svg",
"coca-cola.com": "https://www.pepsi.com/assets/images/pepsi-logos/logo-0.png",
"apple.com": "https://upload.wikimedia.org/wikipedia/commons/thumb/2/24/Samsung_Logo.svg/2560px-Samsung_Log... | 3kh0/fuckyouwebsite | 8 | Preventing you from using the web properly - Scrapyard Flagship 2025 | JavaScript | 3kh0 | Echo | hackclub |
src/punish/paywallSite.js | JavaScript | // paywall yea
console.log("pay");
function showPaywall() {
const paywall = document.createElement("div");
paywall.id = "paywall";
paywall.style.position = "fixed";
paywall.style.top = "0";
paywall.style.left = "0";
paywall.style.width = "100%";
paywall.style.height = "100%";
paywall.style.backgroundCo... | 3kh0/fuckyouwebsite | 8 | Preventing you from using the web properly - Scrapyard Flagship 2025 | JavaScript | 3kh0 | Echo | hackclub |
src/punish/popup.js | JavaScript | console.log("popup");
const popups = [
(div) => {
const video = document.createElement("video");
video.src = "https://cdn.saahild.com/u/viqxku.mp4";
video.loop = true;
video.muted = true;
video.autoplay = true;
div.append(video);
},
(div) => {
const bigX = document.createElement("div"... | 3kh0/fuckyouwebsite | 8 | Preventing you from using the web properly - Scrapyard Flagship 2025 | JavaScript | 3kh0 | Echo | hackclub |
src/punish/spinningWheel.js | JavaScript | // if it has democracy, eg: https://www.state.gov/policy-issues/human-rights-and-democracy/
console.log("gambling hell yea");
const site = `
<!doctype html>
<html>
<head>
<title>Welcome to Spin the Wheel</title>
<meta charset="UTF-8" />
<style>
@import url("https://fonts.googleapis.com/css2?family=... | 3kh0/fuckyouwebsite | 8 | Preventing you from using the web properly - Scrapyard Flagship 2025 | JavaScript | 3kh0 | Echo | hackclub |
views/payment.html | HTML | <!DOCTYPE html>
<html>
<head>
<title>Payment</title>
</head>
<body>
<iframe src="https://commerce.coinbase.com/checkout/f574d05b-6b3e-40b2-aa24-2acb75613270" width="100%" height="1000px" scrolling="no" frameborder="0"></iframe>
</body>
</html>
| 3kh0/fuckyouwebsite | 8 | Preventing you from using the web properly - Scrapyard Flagship 2025 | JavaScript | 3kh0 | Echo | hackclub |
gitea.go | Go | package gitea
import (
"io"
"net/http"
"strings"
"github.com/42wim/caddy-gitea/pkg/gitea"
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
"github.com/caddyserver/caddy/v2/caddyconfig/httpcaddyfile"
"github.com/caddyserver/caddy/v2/modules/caddyhttp"
)
func init() {
... | 42wim/caddy-gitea | 175 | Github pages (and more) for gitea using caddy | Go | 42wim | Wim | |
pkg/gitea/frontmatter.go | Go | // Taken from caddy source code (https://github.com/mholt/caddy/)
// Copyright 2015 Matthew Holt and The Caddy Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apa... | 42wim/caddy-gitea | 175 | Github pages (and more) for gitea using caddy | Go | 42wim | Wim | |
pkg/gitea/fs.go | Go | package gitea
import (
"io"
"io/fs"
"time"
)
type fileInfo struct {
size int64
isdir bool
name string
}
type openFile struct {
content []byte
offset int64
name string
isdir bool
}
func (g fileInfo) Name() string {
return g.name
}
func (g fileInfo) Size() int64 {
return g.size
}
func (g fileInf... | 42wim/caddy-gitea | 175 | Github pages (and more) for gitea using caddy | Go | 42wim | Wim | |
pkg/gitea/gitea.go | Go | package gitea
import (
"bytes"
"fmt"
"io"
"io/fs"
"net/http"
"net/url"
"strings"
"sync"
gclient "code.gitea.io/sdk/gitea"
"github.com/spf13/viper"
)
type Client struct {
serverURL string
token string
giteapages string
giteapagesAllowAll string
gc *gclient.... | 42wim/caddy-gitea | 175 | Github pages (and more) for gitea using caddy | Go | 42wim | Wim | |
allowlist.go | Go | package traefik_allowlist //nolint:stylecheck
import (
"context"
"errors"
"fmt"
"net"
"net/http"
"strings"
"sync"
"time"
)
const (
XFF = "X-Forwarded-For"
)
type Config struct {
Allow []string `json:"allow,omitempty" toml:"allow,omitempty" yaml:"allow,omitempty"`
}
// CreateConfig creates and initializes ... | 42wim/traefik-allowlist | 1 | Go | 42wim | Wim | ||
.eslintrc.js | JavaScript | module.exports = {
extends: 'universe/node',
};
| 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp | |
gatsby-config.js | JavaScript | module.exports = {
siteMetadata: {
title: 'GDevelop - Make your own games with no programming skills',
},
plugins: [
`gatsby-plugin-styled-components`,
'gatsby-plugin-react-helmet',
'gatsby-plugin-sass',
'gatsby-plugin-twitter',
{
resolve: `gatsby-plugin-google-fonts`,
options:... | 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp | |
gatsby-node.js | JavaScript | const chalk = require('chalk');
const { createFilePath } = require('gatsby-source-filesystem');
const { getAllLocales } = require('./i18n-helpers');
const locales = [
{
name: 'English',
path: '',
langCode: 'en',
longLangCode: 'en-US',
messages: {},
translationRatio: 1,
},
...getAllLocales... | 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp | |
i18n-helpers.js | JavaScript | const fs = require('fs');
const path = require('path');
const ISO6391 = require('iso-639-1');
const i18nPath = path.join(__dirname, 'i18n');
const getShortestCode = langLongCode => {
const langParts = langLongCode.split('-');
if (
langParts[0] &&
langParts[1] &&
langParts[1].toLowerCase() === langPart... | 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp | |
i18next-scanner.config.js | JavaScript | // This configures i18next-scanner to extract every translation to i18n/catalog.json
module.exports = {
options: {
// debug: true,
func: {
list: ['t'],
extensions: ['.js', '.jsx'],
},
lngs: ['en'],
ns: ['translation'],
defaultLng: 'en',
defaultNs: 'translation',
defaultValu... | 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp | |
src/cms/cms.js | JavaScript | import CMS from 'netlify-cms'
CMS.registerPreviewStyle('/styles.css')
| 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp | |
src/components/BigButton.js | JavaScript | import styled from 'styled-components';
import Link from './Link';
const BigButton = styled(Link)`
min-height: 56px;
min-width: 200px;
padding: 15px;
margin: 20px;
display: inline-block;
text-align: center;
font-family: 'Roboto', Arial, sans-serif;
font-weight: bold;
text-transform: uppercase;
ba... | 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp | |
src/components/BigGhostButton.js | JavaScript | import styled from 'styled-components';
import Link from './Link';
const BigGhostButton = styled(Link)`
min-height: 56px;
min-width: 200px;
padding: 15px;
margin: 20px;
display: inline-block;
text-align: center;
font-family: 'Roboto', Arial, sans-serif;
font-weight: bold;
text-transform: uppercase;
... | 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp | |
src/components/BigTitle.js | JavaScript | import React from 'react';
import styled from 'styled-components';
import { media, ie10and11 } from '../lib/media';
const BigTitle = styled.h1`
font-size: 50px;
line-height: 68px;
font-family: 'Asap', Arial, sans-serif;
font-weight: 400;
display: inline-block;
margin-top: 35px;
margin-bottom: 15px;
co... | 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp | |
src/components/BottomCenteredBigImage.js | JavaScript | import React from 'react';
import styled from 'styled-components';
import { media } from '../lib/media';
const CenteredBigImage = styled.img`
max-width: ${props => props.maxWidth};
margin-top: 20px;
margin-bottom: 0;
${media.tablet`
max-width: 90%;
`};
`;
const Container = styled.div`
margin: 0;
ma... | 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp | |
src/components/BubBanner.js | JavaScript | import React from 'react';
import { translate } from 'react-i18next';
import CenteredRow from './Grid/CenteredRow';
import TransparentContainer from './Containers/TransparentContainer';
import BigButton from './BigButton';
import Column from './Grid/Column';
import CenteredColumn from './Grid/CenteredColumn';
import Pa... | 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp | |
src/components/Carousel.js | JavaScript | import React from 'react';
import styled from 'styled-components';
import 'react-alice-carousel/lib/alice-carousel.css';
import AliceCarousel from 'react-alice-carousel';
const Container = styled.div`
width: 100%;
margin: auto;
.alice-carousel__wrapper {
border: none;
}
`;
export default props => (
<C... | 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp | |
src/components/CenteredBigImage.js | JavaScript | import React from 'react';
import styled from 'styled-components';
import { media } from '../lib/media';
const CenteredBigImage = styled.img`
max-width: ${props => props.maxWidth};
margin-top: 20px;
margin-bottom: 10px;
${media.tablet`
max-width: 90%;
`};
`;
const Container = styled.div`
text-align: ... | 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp | |
src/components/Containers/BannerContainer.js | JavaScript | import styled from 'styled-components';
import background from '../../img/background.jpg';
const BannerContainer = styled.div`
width:100%;
min-height: 20px;
padding: 20px;
display: block;
text-align: center;
background-color: #7847c0;
background-image: url(${background});
background-size: cover;
c... | 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp | |
src/components/Containers/LandingContainer.js | JavaScript | import styled from 'styled-components';
import { media } from '../../lib/media';
import background from '../../img/background.jpg';
const LandingContainer = styled.div`
width: 100%;
padding: 40px;
margin-bottom: 20px;
display: block;
background-color: #7847c0;
background-image: url(${background});
back... | 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp | |
src/components/Containers/TransparentContainer.js | JavaScript | import styled from 'styled-components';
import { media } from '../../lib/media';
const TransparentContainer = styled.div`
width: 100%;
min-height: 20px;
padding-left: ${props => props.noPadding ? '0' : '60px'};
padding-right: ${props => props.noPadding ? '0' : '60px'};
display: block;
${media.tablet`
... | 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp | |
src/components/Containers/TransparentDeprecatedContainer.js | JavaScript | import styled from 'styled-components';
import { media } from '../../lib/media';
const TransparentContainer = styled.div`
width: 100%;
min-height: 20px;
opacity: 0.78;
padding-left: ${props => props.noPadding ? '0' : '60px'};
padding-right: ${props => props.noPadding ? '0' : '60px'};
display: block;
${... | 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp | |
src/components/ExplanationText.js | JavaScript | import React from 'react';
import styled from 'styled-components';
const ExplanationText = styled.p`
font-size: 18px;
text-align: center;
font-family: 'Roboto', Arial, sans-serif;
font-style: italic;
color: #B2B2B2;
`;
export default ExplanationText;
| 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp | |
src/components/Footer.js | JavaScript | import React from 'react';
import styled from 'styled-components';
import FontAwesomeIcon from '@fortawesome/react-fontawesome';
import faLanguage from '@fortawesome/fontawesome-free-solid/faLanguage';
import { Trans } from 'react-i18next';
import Link from './Link';
import { media } from '../lib/media';
import Row fro... | 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp | |
src/components/FullWidthImage.js | JavaScript | import React from 'react';
import styled, { keyframes } from 'styled-components';
import { media } from '../lib/media';
const fadeIn = keyframes`
from {
opacity: 0.2;
}
to {
opacity: 1;
}
`;
const FullWidthImage = styled.img`
width: 100%;
animation: ${fadeIn} 0.5s ease-out forwards;
${media.t... | 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp | |
src/components/GameThumbnail.js | JavaScript | import React from 'react';
import styled from 'styled-components';
import { media } from '../lib/media';
const GameThumbnail = styled.div`
max-width: 100%;
height: 30vw;
background-image: url(${props => props.src});
background-size: cover;
background-position: center;
border-radius: 6px;
margin-top: 5px;... | 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp | |
src/components/GameTitle.js | JavaScript | import styled from 'styled-components';
const GameTitle = styled.p`
font-size: 24px;
font-family: 'Roboto', Arial, sans-serif;
color: #6a6a6a;
margin-top: 10px;
margin-left: 15px;
margin-right: 15px;
text-align: center;
`;
export default GameTitle;
| 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp | |
src/components/Grid/CenteredColumn.js | JavaScript | import React from 'react';
import styled from 'styled-components';
import { media } from '../../lib/media';
const CenteredColumn = styled.div`
display: flex;
flex-direction: ${props => (props.reverse ? 'column-reverse' : 'column')};
flex: ${props => (props.flex !== undefined ? props.flex : '1')};
justify-conte... | 4ian/GDevelop-website-v2 | 14 | JavaScript | 4ian | Florian Rival | GDevelopApp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.