text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```php
<?php return array (
'domain' => 'default',
'plural-forms' => 'nplurals=2; plural=(n != 1);',
'messages' =>
array (
'' =>
array (
'# Episodes' => '# Episdios',
'# Songs' => '# Msicas',
'%{ dj } is now live on %{ station }! Tune in now: %{ url }' => '%{ dj } est ao vivo na emis... | /content/code_sandbox/translations/pt_BR.UTF-8/LC_MESSAGES/default.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 44,811 |
```php
<?php return array (
'domain' => 'default',
'plural-forms' => 'nplurals=2; plural=(n != 1);',
'messages' =>
array (
'' =>
array (
'# Episodes' => '# ',
'# Songs' => '# ',
'%{ dj } is now live on %{ station }! Tune in now: %{ url }' => '%{ dj } %{ station }! : %{ url }',
... | /content/code_sandbox/translations/el_GR.UTF-8/LC_MESSAGES/default.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 28,919 |
```php
<?php return array (
'domain' => 'default',
'plural-forms' => 'nplurals=2; plural=(n != 1);',
'messages' =>
array (
'' =>
array (
'# Episodes' => 'afleveringen',
'# Songs' => 'Nummer',
'%{ dj } is now live on %{ station }! Tune in now: %{ url }' => '%{ dj } is nu live op %{ st... | /content/code_sandbox/translations/nl_NL.UTF-8/LC_MESSAGES/default.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 35,149 |
```php
<?php return array (
'domain' => 'default',
'plural-forms' => 'nplurals=2; plural=(n != 1);',
'messages' =>
array (
'' =>
array (
'# Episodes' => '# Episoden',
'# Songs' => '# Titel',
'%{ dj } is now live on %{ station }! Tune in now: %{ url }' => '%{ dj } ist jetzt live auf %... | /content/code_sandbox/translations/de_DE.UTF-8/LC_MESSAGES/default.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 35,161 |
```powershell
# This script lists outs Azure Function apps that are running on the v3 version of the host so they can be upgraded
# Review path_to_url for details on how to upgrade to ~4 of the runtime
$Subscription = '<YOUR SUBSCRIPTION ID>'
Set-AzContext -Subscription $Subscription | Out-Null
$FunctionApps =... | /content/code_sandbox/EOLHostMigration/CheckEOLAppsPerAzSub.ps1 | powershell | 2016-04-05T22:38:54 | 2024-08-15T12:30:26 | Azure-Functions | Azure/Azure-Functions | 1,109 | 168 |
```c++
/*
BlinkM.cpp - Library for controlling a BlinkM over i2c
Created by Tim Koster, August 21 2013.
*/
#include "Marlin.h"
#ifdef BLINKM
#if (ARDUINO >= 100)
# include "Arduino.h"
#else
# include "WProgram.h"
#endif
#include "BlinkM.h"
void SendColors(byte red, byte grn, byte blu)
{
Wire.begin();
Wi... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/BlinkM.cpp | c++ | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 163 |
```objective-c
/**
* Basque-Euskera
*
* LCD Menu Messages
* Please note these are limited to 17 characters!
*
*/
#ifndef LANGUAGE_EU_H
#define LANGUAGE_EU_H
#define WELCOME_MSG MACHINE_NAME " prest."
#define MSG_SD_INSERTED "Txartela sartuta"
#define MSG_SD_REMOVED ... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/language_eu.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,713 |
```objective-c
/* Arduino SdFat Library
*
* This file is part of the Arduino SdFat Library
*
* This Library is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This Library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even t... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/Sd2PinMap.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 6,141 |
```objective-c
//
// based on LiquidCrystal library from ArduinoIDE, see path_to_url
// modified 27 Jul 2011
// by Ilya V. Danilov path_to_url
//
#ifndef LiquidCrystalRus_h
#define LiquidCrystalRus_h
#include <inttypes.h>
#include "Print.h"
// commands
#define LCD_CLEARDISPLAY 0x01
#define LCD_RETURNHOME 0x02
#def... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/LiquidCrystalRus.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,074 |
```objective-c
/* Arduino SdFat Library
*
* This file is part of the Arduino SdFat Library
*
* This Library is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This Library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even t... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/SdFatStructs.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 6,087 |
```objective-c
#ifndef LANGUAGE_H
#define LANGUAGE_H
#define LANGUAGE_CONCAT(M) #M
#define GENERATE_LANGUAGE_INCLUDE(M) LANGUAGE_CONCAT(language_##M.h)
// NOTE: IF YOU CHANGE LANGUAGE FILES OR MERGE A FILE WITH CHANGES
//
// ==> ALWAYS TRY TO COMPILE MARLIN WITH/WITHOUT "ULTIPANEL" / "ULTRALCD" / "SDSUPPORT... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/language.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,505 |
```objective-c
#ifndef CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H
//===========================================================================
//=============================Thermal Settings ============================
//===========================================================================
#ifdef BED_LI... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/Configuration_adv.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 5,600 |
```c++
#include "Marlin.h"
#include "planner.h"
#include "temperature.h"
#include "ultralcd.h"
#include "ConfigurationStore.h"
void _EEPROM_writeData(int &pos, uint8_t* value, uint8_t size)
{
do
{
eeprom_write_byte((unsigned char*)pos, *value);
pos++;
value++;
}while(--size);
}
#def... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/ConfigurationStore.cpp | c++ | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 4,378 |
```objective-c
/*
stepper.h - stepper motor driver: executes motion plans of planner.c using the stepper motors
Part of Grbl
Grbl is free software: you can redistribute it and/or modify
(at your option) any later version.
Grbl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; w... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/stepper.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,258 |
```arduino
/* -*- c++ -*- */
/*
Reprap firmware based on Sprinter and grbl.
This program is free software: you can redistribute it and/or modify
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/Marlin_BCN3D_Moveo.ino | arduino | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 382 |
```c++
/*
Servo.cpp - Interrupt driven Servo library for Arduino using 16 bit timers- Version 2
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; withou... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/Servo.cpp | c++ | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 3,325 |
```objective-c
/**
* English
*
* LCD Menu Messages
* Please note these are limited to 17 characters!
*
*/
#ifndef LANGUAGE_EN_H
#define LANGUAGE_EN_H
#define WELCOME_MSG MACHINE_NAME " ready."
#define MSG_SD_INSERTED "Card inserted"
#define MSG_SD_REMOVED ... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/language_en.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,495 |
```objective-c
/**
* Dutch
*
* LCD Menu Messages
* Please note these are limited to 17 characters!
*
*/
#ifndef LANGUAGE_NL_H
#define LANGUAGE_NL_H
#define WELCOME_MSG MACHINE_NAME " gereed."
#define MSG_SD_INSERTED "Kaart ingestoken"
#define MSG_SD_REMOVED ... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/language_nl.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,608 |
```objective-c
#ifndef BOARDS_H
#define BOARDS_H
#define BOARD_UNKNOWN -1
#define BOARD_GEN7_CUSTOM 10 // Gen7 custom (Alfons3 Version) "path_to_url"
#define BOARD_GEN7_12 11 // Gen7 v1.1, v1.2
#define BOARD_GEN7_13 12 // Gen7 v1.3
#define BOARD_GEN7_14 13 // Gen7 v1.4
#def... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/boards.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,043 |
```objective-c
/*
planner.h - buffers movement commands and manages the acceleration profile plan
Part of Grbl
Grbl is free software: you can redistribute it and/or modify
(at your option) any later version.
Grbl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even th... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/planner.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,446 |
```objective-c
/* Arduino Sd2Card Library
*
* This file is part of the Arduino Sd2Card Library
*
* This Library is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This Library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without ev... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/Sd2Card.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 2,354 |
```objective-c
/**
* Polish
*
* LCD Menu Messages
* Please note these are limited to 17 characters!
*
*/
#ifndef LANGUAGE_PL_H
#define LANGUAGE_PL_H
#define WELCOME_MSG MACHINE_NAME " gotowy."
#define MSG_SD_INSERTED "Karta wlozona"
#define MSG_SD_REMOVED ... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/language_pl.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,732 |
```c++
#include "LiquidCrystalRus.h"
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
#include <avr/pgmspace.h>
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
// it is a Russian alphabet translation
// except 0401 --> 0xa2 = , 0451 --> 0xb5
const PROGME... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/LiquidCrystalRus.cpp | c++ | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 3,573 |
```objective-c
/**
* Italian
*
* LCD Menu Messages
* Please note these are limited to 17 characters!
*
*/
#ifndef LANGUAGE_IT_H
#define LANGUAGE_IT_H
#define WELCOME_MSG MACHINE_NAME " pronto."
#define MSG_SD_INSERTED "SD Card inserita"
#define MSG_SD_REMOVED ... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/language_it.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,637 |
```objective-c
/*
motion_control.h - high level interface for issuing motion commands
Part of Grbl
Grbl is free software: you can redistribute it and/or modify
(at your option) any later version.
Grbl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied ... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/motion_control.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 237 |
```objective-c
/*
HardwareSerial.h - Hardware serial library for Wiring
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied ... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/MarlinSerial.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,393 |
```objective-c
/*
BlinkM.h
Library header file for BlinkM library
*/
#if (ARDUINO >= 100)
# include "Arduino.h"
#else
# include "WProgram.h"
#endif
#include "Wire.h"
void SendColors(byte red, byte grn, byte blu);
``` | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/BlinkM.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 64 |
```c++
#include "Marlin.h"
#include "cardreader.h"
#include "ultralcd.h"
#include "stepper.h"
#include "temperature.h"
#include "language.h"
#ifdef SDSUPPORT
CardReader::CardReader()
{
filesize = 0;
sdpos = 0;
sdprinting = false;
cardOK = false;
saving = false;
logging = false;
autostart_atmill... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/cardreader.cpp | c++ | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 3,924 |
```objective-c
#ifndef CONFIG_STORE_H
#define CONFIG_STORE_H
#include "Configuration.h"
void Config_ResetDefault();
#ifndef DISABLE_M503
void Config_PrintSettings();
#else
FORCE_INLINE void Config_PrintSettings() {}
#endif
#ifdef EEPROM_SETTINGS
void Config_StoreSettings();
void Config_RetrieveSettings();
#else
FOR... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/ConfigurationStore.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 96 |
```c++
/* -*- c++ -*- */
/*
Reprap firmware based on Sprinter and grbl.
This program is free software: you can redistribute it and/or modify
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERC... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/Marlin_main.cpp | c++ | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 41,401 |
```objective-c
/**
* Finnish
*
* LCD Menu Messages
* Please note these are limited to 17 characters!
*
*/
#ifndef LANGUAGE_FI_H
#define LANGUAGE_FI_H
#define WELCOME_MSG MACHINE_NAME " valmis."
#define MSG_SD_INSERTED "Kortti asetettu"
#define MSG_SD_REMOVED ... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/language_fi.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,656 |
```objective-c
/* Arduino SdFat Library
*
* This file is part of the Arduino SdFat Library
*
* This Library is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This Library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even t... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/SdVolume.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 2,305 |
```c++
/* Arduino SdFat Library
*
* This file is part of the Arduino SdFat Library
*
* This Library is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This Library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the impli... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/SdFile.cpp | c++ | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 755 |
```objective-c
#include "Configuration.h"
#ifdef AUTO_BED_LEVELING_GRID
void daxpy ( int n, double da, double dx[], int incx, double dy[], int incy );
double ddot ( int n, double dx[], int incx, double dy[], int incy );
double dnrm2 ( int n, double x[], int incx );
void dqrank ( double a[], int lda, int m, int n, dou... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/qr_solve.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 340 |
```objective-c
#ifndef CONFIGURATION_H
#define CONFIGURATION_H
#include "boards.h"
// This configuration file contains the basic settings.
// Advanced settings can be found in Configuration_adv.h
// BASIC SETTINGS: select your board type, temperature sensor type, axis scaling, and endstop configuration
//===========... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/Configuration.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 9,320 |
```objective-c
#ifndef ULTRA_LCD_IMPLEMENTATION_HITACHI_HD44780_H
#define ULTRA_LCD_IMPLEMENTATION_HITACHI_HD44780_H
/**
* Implementation of the LCD display routines for a Hitachi HD44780 display. These are common LCD character displays.
* When selecting the Russian language, a slightly different LCD implementation is... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/ultralcd_implementation_hitachi_HD44780.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 9,573 |
```c++
/*
planner.c - buffers movement commands and manages the acceleration profile plan
Part of Grbl
Grbl is free software: you can redistribute it and/or modify
(at your option) any later version.
Grbl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied ... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/planner.cpp | c++ | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 10,917 |
```objective-c
/**
* German
*
* LCD Menu Messages
* Please note these are limited to 17 characters!
*
*/
#ifndef LANGUAGE_DE_H
#define LANGUAGE_DE_H
#define WELCOME_MSG MACHINE_NAME " Bereit."
#define MSG_SD_INSERTED "SDKarte erkannt"
#define MSG_SD_REMOVED ... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/language_de.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,606 |
```objective-c
/**
*dogm_lcd_implementation.h
*
*Graphics LCD implementation for 128x64 pixel LCDs by STB for ErikZalm/Marlin
*Demonstrator: path_to_url
*
*With the use of:
*u8glib by Oliver Kraus
*path_to_url
*/
#ifndef ULTRA_LCD_IMPLEMENTATION_DOGM_H
#define ULTRA_LCD_IMPLEMENTATION_DOGM_H
/**
* Implement... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/dogm_lcd_implementation.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 5,739 |
```c++
/* Arduino SdFat Library
*
* This file is part of the Arduino SdFat Library
*
* This Library is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This Library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the impli... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/SdBaseFile.cpp | c++ | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 15,206 |
```objective-c
#ifndef ULTRALCD_H
#define ULTRALCD_H
#include "Marlin.h"
#ifdef ULTRA_LCD
void lcd_update();
void lcd_init();
void lcd_setstatus(const char* message);
void lcd_setstatuspgm(const char* message);
void lcd_setalertstatuspgm(const char* message);
void lcd_reset_alert_level();
bool lcd_dete... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/ultralcd.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,357 |
```objective-c
/**
* Catalan
*
* LCD Menu Messages
* Please note these are limited to 17 characters!
*
*/
#ifndef LANGUAGE_CA_H
#define LANGUAGE_CA_H
#define WELCOME_MSG MACHINE_NAME " preparada."
#define MSG_SD_INSERTED "SD detectada."
#define MSG_SD_REMOVED ... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/language_ca.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,595 |
```objective-c
#ifndef WATCHDOG_H
#define WATCHDOG_H
#include "Marlin.h"
#ifdef USE_WATCHDOG
// initialize watch dog with a 1 sec interrupt time
void watchdog_init();
// pad the dog/reset watchdog. MUST be called at least every second after the first watchdog_init or AVR will go into emergency procedures..
vo... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/watchdog.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 116 |
```objective-c
/* Arduino SdFat Library
*
* This file is part of the Arduino SdFat Library
*
* This Library is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This Library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even t... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/SdFatUtil.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 295 |
```objective-c
/*
vector_3.cpp - Vector library for bed leveling
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warrant... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/vector_3.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 369 |
```c++
#include "Marlin.h"
#ifdef USE_WATCHDOG
#include <avr/wdt.h>
#include "watchdog.h"
#include "ultralcd.h"
//===========================================================================
//=============================private variables ============================
//==============================================... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/watchdog.cpp | c++ | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 362 |
```c++
/*
motion_control.c - high level interface for issuing motion commands
Part of Grbl
Grbl is free software: you can redistribute it and/or modify
(at your option) any later version.
Grbl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/motion_control.cpp | c++ | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,653 |
```objective-c
/**
* Aragonese
*
* LCD Menu Messages
* Please note these are limited to 17 characters!
*
*/
#ifndef LANGUAGE_AN_H
#define LANGUAGE_AN_H
#define WELCOME_MSG MACHINE_NAME " parada."
#define MSG_SD_INSERTED "Tarcheta colocada"
#define MSG_SD_REMOVED ... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/language_an.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,717 |
```objective-c
/**
* Spanish
*
* LCD Menu Messages
* Please note these are limited to 17 characters!
*
*/
#ifndef LANGUAGE_ES_H
#define LANGUAGE_ES_H
#define WELCOME_MSG MACHINE_NAME " lista."
#define MSG_SD_INSERTED "Tarjeta colocada"
#define MSG_SD_REMOVED ... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/language_es.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,704 |
```objective-c
#ifndef SPEED_LOOKUPTABLE_H
#define SPEED_LOOKUPTABLE_H
#include "Marlin.h"
#if F_CPU == 16000000
const uint16_t speed_lookuptable_fast[256][2] PROGMEM = {\
{ 62500, 55556}, { 6944, 3268}, { 3676, 1176}, { 2500, 607}, { 1893, 369}, { 1524, 249}, { 1275, 179}, { 1096, 135},
{ 961, 105}, { 856, 85}, { ... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/speed_lookuptable.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 7,451 |
```objective-c
/**
* Russian
*
* LCD Menu Messages
* Please note these are limited to 17 characters!
*
*/
#ifndef LANGUAGE_RU_H
#define LANGUAGE_RU_H
#define LANGUAGE_RU
#define WELCOME_MSG MACHINE_NAME "."
#define MSG_SD_INSERTED " "
#define MSG_SD_REMOVED ... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/language_ru.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,418 |
```c++
#include "qr_solve.h"
#ifdef AUTO_BED_LEVELING_GRID
#include <stdlib.h>
#include <math.h>
//# include "r8lib.h"
int i4_min ( int i1, int i2 )
/******************************************************************************/
/*
Purpose:
I4_MIN returns the smaller of two I4's.
Licensing:
This co... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/qr_solve.cpp | c++ | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 12,327 |
```c++
/*
vector_3.cpp - Vector library for bed leveling
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
M... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/vector_3.cpp | c++ | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,417 |
```objective-c
#ifndef CARDREADER_H
#define CARDREADER_H
#ifdef SDSUPPORT
#define MAX_DIR_DEPTH 10
#include "SdFile.h"
enum LsAction {LS_SerialPrint,LS_Count,LS_GetFilename};
class CardReader
{
public:
CardReader();
void initsd();
void write_command(char *buf);
//files auto[0-9].g on the sd card are perfo... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/cardreader.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 846 |
```objective-c
#ifndef THERMISTORTABLES_H_
#define THERMISTORTABLES_H_
#include "Marlin.h"
#define OVERSAMPLENR 16
#if (THERMISTORHEATER_0 == 1) || (THERMISTORHEATER_1 == 1) || (THERMISTORHEATER_2 == 1) || (THERMISTORBED == 1) //100k bed thermistor
const short temptable_1[][2] PROGMEM = {
{ 23*OVERSAMPLENR ,... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/thermistortables.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 14,795 |
```objective-c
/*
Servo.h - Interrupt driven Servo library for Arduino using 16 bit timers- Version 2
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRA... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/Servo.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,471 |
```objective-c
#ifndef PINS_H
#define PINS_H
#include "boards.h"
#if !MB(5DPRINT)
#define X_MS1_PIN -1
#define X_MS2_PIN -1
#define Y_MS1_PIN -1
#define Y_MS2_PIN -1
#define Z_MS1_PIN -1
#define Z_MS2_PIN -1
#define E0_MS1_PIN -1
#define E0_MS2_PIN -1
#define E1_MS1_PIN -1
#define E1_MS2_PIN -1
#define DIGIPOTSS_PIN ... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/pins.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 23,964 |
```objective-c
/* Arduino SdFat Library
*
* This file is part of the Arduino SdFat Library
*
* This Library is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This Library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even t... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/SdFatConfig.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 961 |
```c++
/*
stepper.c - stepper motor driver: executes motion plans using stepper motors
Part of Grbl
Grbl is free software: you can redistribute it and/or modify
(at your option) any later version.
Grbl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied w... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/stepper.cpp | c++ | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 11,823 |
```objective-c
/**
* Portuguese
*
* LCD Menu Messages
* Please note these are limited to 17 characters!
*
*/
#ifndef LANGUAGE_PT_H
#define LANGUAGE_PT_H
#define WELCOME_MSG MACHINE_NAME " pronto."
#define MSG_SD_INSERTED "Cartao inserido"
#define MSG_SD_REMOVED "Car... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/language_pt.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,715 |
```objective-c
/* Arduino Sd2Card Library
*
* This file is part of the Arduino Sd2Card Library
*
* This Library is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This Library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without ev... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/SdInfo.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 2,393 |
```objective-c
/*
temperature.h - temperature controller
Part of Marlin
Grbl is free software: you can redistribute it and/or modify
(at your option) any later version.
Grbl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/temperature.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,336 |
```objective-c
/*
This code contributed by Triffid_Hunter and modified by Kliment
why double up on these macros? see path_to_url
*/
#ifndef _FASTIO_ARDUINO_H
#define _FASTIO_ARDUINO_H
#include <avr/io.h>
/*
utility functions
*/
#ifndef MASK
/// MASKING- returns \f$2^PIN\f$
#define MASK(PIN) (1 << PIN)
#endif... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/fastio.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 30,312 |
```c++
/* Arduino SdFat Library
*
* This file is part of the Arduino SdFat Library
*
* This Library is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This Library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the impli... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/SdFatUtil.cpp | c++ | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 558 |
```objective-c
#define START_BMPWIDTH 60 //Width in pixels - path_to_url
#define START_BMPHEIGHT 64 //Height in pixels
#define START_BMPBYTEWIDTH 8 //Width in bytes
const unsigned char start_bmp[574] PROGMEM = { //AVR-GCC, WinAVR
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0f,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0f,
0x00,... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/DOGMbitmaps.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 9,551 |
```c++
/* Arduino Sd2Card Library
*
* This file is part of the Arduino Sd2Card Library
*
* This Library is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This Library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the i... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/Sd2Card.cpp | c++ | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 7,180 |
```objective-c
/* Arduino SdFat Library
*
* This file is part of the Arduino SdFat Library
*
* This Library is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This Library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even t... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/SdFile.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 312 |
```c++
#include "Configuration.h"
#ifdef DIGIPOT_I2C
#include "Stream.h"
#include "utility/twi.h"
#include "Wire.h"
// Settings for the I2C based DIGIPOT (MCP4451) on Azteeg X3 Pro
#if MB(5DPRINT)
#define DIGIPOT_I2C_FACTOR 117.96
#define DIGIPOT_I2C_MAX_CURRENT 1.736
#else
#define DIGIPOT_I2C_FACTOR 106.7
#define DI... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/digipot_mcp4451.cpp | c++ | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 540 |
```c++
/*
HardwareSerial.cpp - Hardware serial library for Wiring
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warran... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/MarlinSerial.cpp | c++ | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 2,000 |
```c++
/* Arduino SdFat Library
*
* This file is part of the Arduino SdFat Library
*
* This Library is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This Library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the impli... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/SdVolume.cpp | c++ | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 3,307 |
```c++
#include "temperature.h"
#include "ultralcd.h"
#ifdef ULTRA_LCD
#include "Marlin.h"
#include "language.h"
#include "cardreader.h"
#include "temperature.h"
#include "stepper.h"
#include "ConfigurationStore.h"
int8_t encoderDiff; /* encoderDiff is updated from interrupt context and added to encoderPosition every ... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/ultralcd.cpp | c++ | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 15,319 |
```objective-c
// Tonokip RepRap firmware rewrite based off of Hydra-mmm firmware.
#ifndef MARLIN_H
#define MARLIN_H
#define FORCE_INLINE __attribute__((always_inline)) inline
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <util/delay.h>
#include <avr/pg... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/Marlin.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 2,314 |
```c++
/*
temperature.c - temperature control
Part of Marlin
This program is free software: you can redistribute it and/or modify
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABI... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/temperature.cpp | c++ | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 15,850 |
```objective-c
/* Arduino SdFat Library
*
* This file is part of the Arduino SdFat Library
*
* This Library is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This Library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even t... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/SdBaseFile.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 4,962 |
```objective-c
#ifndef ULCDST7920_H
#define ULCDST7920_H
#include "Marlin.h"
#ifdef U8GLIB_ST7920
//set optimization so ARDUINO optimizes this file
#pragma GCC optimize (3)
#define ST7920_CLK_PIN LCD_PINS_D4
#define ST7920_DAT_PIN LCD_PINS_ENABLE
#define ST7920_CS_PIN LCD_PINS_RS
//#define PAGE_HEIGHT 8 //12... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/ultralcd_st7920_u8glib_rrd.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,380 |
```objective-c
/**
* French
*
* LCD Menu Messages
* Please note these are limited to 17 characters!
*
*/
#ifndef LANGUAGE_FR_H
#define LANGUAGE_FR_H
#define WELCOME_MSG MACHINE_NAME " prete."
#define MSG_SD_INSERTED "Carte inseree"
#define MSG_SD_REMOVED ... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/language_fr.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 1,606 |
```objective-c
/*
Fontname: -Misc-Fixed-Medium-R-Normal--9-90-75-75-C-60-ISO10646-1
Capital A Height: 6, '1' Height: 6
Calculated Max Values w= 6 h= 9 x= 2 y= 7 dx= 6 dy= 0 ascent= 7 len= 9
Font Bounding box w= 6 h= 9 x= 0 y=-2
Calculated Min Values x= 0 y=-2 dx= 0 dy= 0
Pure Font ascent = 6... | /content/code_sandbox/FIRMWARE/Marlin_BCN3D_Moveo/dogm_font_data_marlin.h | objective-c | 2016-07-28T11:07:14 | 2024-08-15T13:21:10 | BCN3D-Moveo | BCN3D/BCN3D-Moveo | 1,418 | 10,876 |
```java
package com.baeldung.auth.config;
import org.keycloak.services.util.JsonConfigProviderFactory;
public class RegularJsonConfigProviderFactory extends JsonConfigProviderFactory {
}
``` | /content/code_sandbox/oauth-rest/oauth-authorization-server/src/main/java/com/baeldung/auth/config/RegularJsonConfigProviderFactory.java | java | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 34 |
```java
package com.baeldung.springsociallogin;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class SpringSocialLoginApplicationTests {
@Test
void contextLoads() {
}
}
``` | /content/code_sandbox/oauth-rest/oauth2-social-login/src/test/java/com/baeldung/springsociallogin/SpringSocialLoginApplicationTests.java | java | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 47 |
```java
package com.baeldung.springsociallogin.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class HomeController {
@GetMapping("/")
public String home() {
return "Hello, public user!";
... | /content/code_sandbox/oauth-rest/oauth2-social-login/src/main/java/com/baeldung/springsociallogin/controller/HomeController.java | java | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 79 |
```java
package com.baeldung.client;
import static org.assertj.core.api.Assertions.assertThat;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import org.junit.jupiter.api.Test;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import io.restassured.Re... | /content/code_sandbox/oauth-rest/oauth-client-spring/src/test/java/com/baeldung/client/Oauth2ClientLiveTest.java | java | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 715 |
```java
package com.baeldung.auth.config;
import org.jboss.resteasy.core.ResteasyContext;
import org.jboss.resteasy.spi.Dispatcher;
import org.jboss.resteasy.spi.ResteasyProviderFactory;
import org.keycloak.common.util.ResteasyProvider;
public class Resteasy3Provider implements ResteasyProvider {
@Override
p... | /content/code_sandbox/oauth-rest/oauth-authorization-server/src/main/java/com/baeldung/auth/config/Resteasy3Provider.java | java | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 198 |
```java
package com.baeldung.client;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest(classes = { ClientSpringApp.class })
public class ClientContextIntegrationTest {
@Test
public void whenLoadApplication_thenSuccess() {
}
}
``` | /content/code_sandbox/oauth-rest/oauth-client-spring/src/test/java/com/baeldung/client/ClientContextIntegrationTest.java | java | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 54 |
```java
package com.baeldung.springsociallogin.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.Customizer;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.spri... | /content/code_sandbox/oauth-rest/oauth2-social-login/src/main/java/com/baeldung/springsociallogin/config/SecurityConfig.java | java | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 154 |
```java
package com.baeldung.auth;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit.jupiter.SpringExtension;
import com.baeldung.auth.AuthorizationServerApp;
@ExtendWith(Spr... | /content/code_sandbox/oauth-rest/oauth-authorization-server/src/test/java/com/baeldung/auth/ContextIntegrationTest.java | java | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 92 |
```yaml
spring:
security:
oauth2:
client:
registration:
custom:
client-id: newClient
client-secret: newClientSecret
scope: read,write,openid
authorization-grant-type: authorization_code
redirect-uri: path_to_url
provider:
... | /content/code_sandbox/oauth-rest/oauth-client-spring/src/main/resources/application.yml | yaml | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 196 |
```java
package com.baeldung.auth.config;
import java.io.File;
import org.keycloak.Config.Scope;
import org.keycloak.common.Profile;
import org.keycloak.common.profile.PropertiesFileProfileConfigResolver;
import org.keycloak.common.profile.PropertiesProfileConfigResolver;
import org.keycloak.platform.PlatformProvider... | /content/code_sandbox/oauth-rest/oauth-authorization-server/src/main/java/com/baeldung/auth/config/SimplePlatformProvider.java | java | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 288 |
```java
package com.baeldung.client;
import static org.assertj.core.api.Assertions.assertThat;
import static org.hamcrest.CoreMatchers.endsWith;
import static org.hamcrest.CoreMatchers.startsWith;
import java.net.URI;
import java.net.URLDecoder;
import java.nio.charset.StandardCharsets;
import java.time.Duration;
imp... | /content/code_sandbox/oauth-rest/oauth-client-spring/src/test/java/com/baeldung/client/Oauth2ClientIntegrationTest.java | java | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 2,056 |
```java
package com.baeldung.client.web.model;
public class FooModel {
private Long id;
private String name;
public FooModel() {
}
public FooModel(Long id, String name) {
super();
this.id = id;
this.name = name;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
... | /content/code_sandbox/oauth-rest/oauth-client-spring/src/main/java/com/baeldung/client/web/model/FooModel.java | java | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 337 |
```java
package com.baeldung.auth.config;
import java.util.NoSuchElementException;
import org.keycloak.Config;
import org.keycloak.exportimport.ExportImportManager;
import org.keycloak.models.KeycloakSession;
import org.keycloak.representations.idm.RealmRepresentation;
import org.keycloak.services.managers.ApplianceB... | /content/code_sandbox/oauth-rest/oauth-authorization-server/src/main/java/com/baeldung/auth/config/EmbeddedKeycloakApplication.java | java | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 520 |
```java
package com.baeldung.client;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class ClientSpringApp {
public static void main(String[] args) {
SpringApplication.run(ClientSpringApp.class, args);
... | /content/code_sandbox/oauth-rest/oauth-client-spring/src/main/java/com/baeldung/client/ClientSpringApp.java | java | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 52 |
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Spring OAuth Client Thymeleaf</title>
<link rel="stylesheet" href="path_to_url" />
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light shadow-sm p-3 mb-5">
<a cla... | /content/code_sandbox/oauth-rest/oauth-client-spring/src/main/resources/templates/foos.html | html | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 370 |
```yaml
server:
port: 8083
spring:
jpa:
defer-datasource-initialization: true
datasource:
username: sa
url: jdbc:h2:mem:customdb;DB_CLOSE_ON_EXIT=FALSE
keycloak:
server:
contextPath: /auth
adminUser:
username: bael-admin
password: pass
realmImportFile: baeldung-realm.json
... | /content/code_sandbox/oauth-rest/oauth-authorization-server/src/main/resources/application.yml | yaml | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 94 |
```java
package com.baeldung.auth.config;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import javax.naming.CompositeName;
import javax.naming.InitialContext;
import javax.naming.Name;
import javax.naming.NameParser;
import javax.naming.NamingException;
import javax.naming.spi.Na... | /content/code_sandbox/oauth-rest/oauth-authorization-server/src/main/java/com/baeldung/auth/config/EmbeddedKeycloakConfig.java | java | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 681 |
```html
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Authorization Code</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="path_to_url"/>
</head>
<body>
<app-root>Loading...</app-root>
</body>
</html>
``` | /content/code_sandbox/oauth-rest/oauth-ui-authorization-code-angular/src/main/resources/src/index.html | html | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 84 |
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Spring OAuth Client Thymeleaf</title>
<link rel="stylesheet" href="path_to_url" />
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light shadow-sm p-3 mb-5">
<a cla... | /content/code_sandbox/oauth-rest/oauth-client-spring/src/main/resources/templates/index.html | html | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 160 |
```java
package com.baeldung.auth.config;
import java.io.UnsupportedEncodingException;
import jakarta.servlet.Filter;
import jakarta.servlet.FilterChain;
import jakarta.servlet.ServletRequest;
import jakarta.servlet.ServletResponse;
import jakarta.servlet.http.HttpServletRequest;
import org.keycloak.common.ClientCon... | /content/code_sandbox/oauth-rest/oauth-authorization-server/src/main/java/com/baeldung/auth/config/EmbeddedKeycloakRequestFilter.java | java | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 304 |
```java
package com.baeldung.auth.config;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties(prefix = "keycloak.server")
public class KeycloakServerProperties {
String contextPath = "/auth";
String realmImportFile = "baeldung-realm.json";
AdminUser admi... | /content/code_sandbox/oauth-rest/oauth-authorization-server/src/main/java/com/baeldung/auth/config/KeycloakServerProperties.java | java | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 262 |
```java
package com.baeldung.client.spring;
import org.springframework.context.annotation.Bean;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.oauth2.client.r... | /content/code_sandbox/oauth-rest/oauth-client-spring/src/main/java/com/baeldung/client/spring/ClientSecurityConfig.java | java | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 279 |
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Spring OAuth Client Thymeleaf</title>
<link rel="stylesheet" href="path_to_url" />
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light shadow-sm p-3 mb-5">
<a cla... | /content/code_sandbox/oauth-rest/oauth-client-spring/src/main/resources/templates/addfoo.html | html | 2016-03-02T09:04:07 | 2024-08-06T03:02:12 | spring-security-oauth | Baeldung/spring-security-oauth | 1,982 | 369 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.